This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-optaplanner.git
The following commit(s) were added to refs/heads/main by this push:
new 7a224a4239 kie-issues#1237: stay on x.y.999-SNAPSHOT in release
branches (#3089)
7a224a4239 is described below
commit 7a224a4239d8f17f2d67b1e9863d468f5128cbb2
Author: Jan Stastny <[email protected]>
AuthorDate: Wed May 22 17:57:36 2024 +0200
kie-issues#1237: stay on x.y.999-SNAPSHOT in release branches (#3089)
Co-authored-by: jstastny-cz <[email protected]>
---
.ci/jenkins/project/Jenkinsfile.setup-branch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/jenkins/project/Jenkinsfile.setup-branch
b/.ci/jenkins/project/Jenkinsfile.setup-branch
index c31c667bb8..f93412ebe4 100644
--- a/.ci/jenkins/project/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/project/Jenkinsfile.setup-branch
@@ -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()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]