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-drools.git
The following commit(s) were added to refs/heads/main by this push:
new 2073193bcb kie-issues#1237: stay on x.y.999-SNAPSHOT in release
branches (#5967)
2073193bcb is described below
commit 2073193bcbcc3f8613cf774ff6b59e110c0aa7df
Author: Jan Stastny <[email protected]>
AuthorDate: Wed May 22 17:37:42 2024 +0200
kie-issues#1237: stay on x.y.999-SNAPSHOT in release branches (#5967)
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 defcc61f84..e50bd30b4d 100644
--- a/.ci/jenkins/project/Jenkinsfile.setup-branch
+++ b/.ci/jenkins/project/Jenkinsfile.setup-branch
@@ -215,7 +215,7 @@ String getDroolsVersion() {
return params.DROOLS_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]