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 {
176
176
// update changelog from JIRA
177
177
// tags the version
178
178
// 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
+ }
180
182
}
181
183
}
182
184
}
@@ -202,7 +204,9 @@ pipeline {
202
204
sshagent([' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ]) {
203
205
// performs documentation upload and Sonatype release
204
206
// 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
+ }
206
210
}
207
211
}
208
212
}
You can’t perform that action at this time.
0 commit comments