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 @@ -135,7 +135,9 @@ pipeline {
135
135
// update changelog from JIRA
136
136
// tags the version
137
137
// changes the version to the provided development version
138
- sh " .release/scripts/prepare-release.sh ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
138
+ withEnv([" BRANCH=${ env.GIT_BRANCH} " ]) {
139
+ sh " .release/scripts/prepare-release.sh ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
140
+ }
139
141
}
140
142
}
141
143
}
@@ -159,7 +161,9 @@ pipeline {
159
161
sshagent([' ed25519.Hibernate-CI.github.com' , ' hibernate.filemgmt.jboss.org' , ' hibernate-ci.frs.sourceforge.net' ]) {
160
162
// performs documentation upload and Sonatype release
161
163
// push to github
162
- sh " .release/scripts/publish.sh ${ env.SCRIPT_OPTIONS} ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
164
+ withEnv([" BRANCH=${ env.GIT_BRANCH} " ]) {
165
+ sh " .release/scripts/publish.sh ${ env.SCRIPT_OPTIONS} ${ env.PROJECT} ${ env.RELEASE_VERSION} ${ env.DEVELOPMENT_VERSION} "
166
+ }
163
167
}
164
168
}
165
169
}
You can’t perform that action at this time.
0 commit comments