File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,9 @@ pipeline {
176176 // update changelog from JIRA
177177 // tags the version
178178 // changes the version to the provided development version
179- sh " .release/scripts/prepare-release.sh ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
179+ withEnv([" BRANCH=${ env.GIT_BRANCH} " ]) {
180+ sh " .release/scripts/prepare-release.sh ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
181+ }
180182 }
181183 }
182184 }
@@ -202,7 +204,9 @@ pipeline {
202204 sshagent([' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ]) {
203205 // performs documentation upload and Sonatype release
204206 // push to github
205- sh " .release/scripts/publish.sh ${ env.SCRIPT_OPTIONS} ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
207+ withEnv([" BRANCH=${ env.GIT_BRANCH} " ]) {
208+ sh " .release/scripts/publish.sh ${ env.SCRIPT_OPTIONS} ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
209+ }
206210 }
207211 }
208212 }
You can’t perform that action at this time.
0 commit comments