Skip to content

Commit

Permalink
fix versioning of mkp
Browse files Browse the repository at this point in the history
  • Loading branch information
nedjitef committed Dec 16, 2021
1 parent f01e4d6 commit 65c204b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ node {
}

def releaseVersion
if (containsTag != "") {
if (lastTag == "") {
releaseVersion = shortCommit
} else {
if (longCommit == longTagCommit) {
releaseVersion = containsTag + "+" + shortCommit
releaseVersion = lastTag
} else {
releaseVersion = containsTag
releaseVersion = lastTag + "+" + shortCommit
}
} else {
releaseVersion = shortCommit
}
sh "build/update-version ${releaseVersion}"
sh 'build/mkp-pack'
Expand Down

0 comments on commit 65c204b

Please sign in to comment.