Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kræn Hansen authored May 11, 2020
1 parent 999383d commit 5531bbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ pipeline {
currentBuild.displayName += ": ${NEXT_VERSION} (prepare)"
} else {
// Update the version of the package again, this time prepending pre release id
def preId = BUILD_TAG.minus("jenkins-realm-realm-studio-")
env.NEXT_VERSION = sh(
script: "npm version ${NEXT_VERSION}-${BUILD_TAG} --no-git-tag-version",
script: "npm version ${NEXT_VERSION}-${preId} --no-git-tag-version",
returnStdout: true,
).trim()
// Set the build display name
Expand Down

0 comments on commit 5531bbf

Please sign in to comment.