Skip to content

Commit

Permalink
kie-issues#1237: stay on x.y.999-SNAPSHOT in release branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jstastny-cz committed May 22, 2024
1 parent 01f55d2 commit 4f110ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/jenkins/project/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ String getOptaPlannerVersion() {
return params.OPTAPLANNER_VERSION ?: getVersionFromReleaseBranch(getBuildBranch())
}

String getVersionFromReleaseBranch(String releaseBranch, int microVersion = 0, String suffix = 'SNAPSHOT') {
String getVersionFromReleaseBranch(String releaseBranch, int microVersion = 999, String suffix = 'SNAPSHOT') {
String [] versionSplit = releaseBranch.split("\\.")
if (versionSplit.length == 3
&& versionSplit[0].isNumber()
Expand Down

0 comments on commit 4f110ca

Please sign in to comment.