@@ -167,7 +167,6 @@ mvn versions:set -DnewVersion="${MVN_VERSION_RELEASE}"
167167mvn versions:commit
168168
169169
170-
171170# delete old release branch if it exits
172171if git show-ref --verify --quiet " refs/heads/${BRANCH} " ; then
173172 git branch --delete --force " ${BRANCH} " & > /dev/null
@@ -180,20 +179,11 @@ git tag "${MVN_VERSION_RELEASE}"
180179
181180echo " " ;
182181echo " Pushing release branch to github"
183- read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
184182
185183# push release branch and tag
186184git push -u origin " ${BRANCH} "
187185git push origin " ${MVN_VERSION_RELEASE} "
188186
189- echo " " ;
190- echo " You need to tell Jenkins to start the release deployment processes, for SDK and maven artifacts"
191- echo " - SDK deployment: https://ci.eclipse.org/rdf4j/job/rdf4j-deploy-release-sdk/ "
192- echo " - Maven deployment: https://ci.eclipse.org/rdf4j/job/rdf4j-deploy-release-ossrh/ "
193- echo " (if you are on linux or windows, remember to use CTRL+SHIFT+C to copy)."
194- echo " Log in, then choose 'Build with Parameters' and type in ${MVN_VERSION_RELEASE} "
195- read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
196-
197187# Cleanup
198188mvn clean -Dmaven.clean.failOnError=false
199189mvn clean -Dmaven.clean.failOnError=false
@@ -219,15 +209,13 @@ git push
219209
220210echo " " ;
221211echo " About to create PR"
222- read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
223212echo " " ;
224213
225214echo " Creating pull request to merge release branch back into main"
226- gh pr create --title " next development iteration: ${MVN_NEXT_SNAPSHOT_VERSION} " --body " Merge using merge commit rather than rebase"
215+ gh pr create -B main - -title " next development iteration: ${MVN_NEXT_SNAPSHOT_VERSION} " --body " Merge using merge commit rather than rebase"
227216
228217echo " " ;
229218echo " Preparing a merge-branch to merge into develop"
230- read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
231219
232220
233221
@@ -255,7 +243,6 @@ mvn clean -Dmaven.clean.failOnError=false
255243mvn clean -Dmaven.clean.failOnError=false
256244
257245echo " Build javadocs"
258- read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
259246
260247git checkout " ${MVN_VERSION_RELEASE} "
261248
@@ -289,7 +276,13 @@ cd scripts
289276echo " "
290277echo " DONE!"
291278
292-
279+ echo " " ;
280+ echo " You need to tell Jenkins to start the release deployment processes, for SDK and maven artifacts"
281+ echo " - SDK deployment: https://ci.eclipse.org/rdf4j/job/rdf4j-deploy-release-sdk/ "
282+ echo " - Maven deployment: https://ci.eclipse.org/rdf4j/job/rdf4j-deploy-release-ossrh/ "
283+ echo " (if you are on linux or windows, remember to use CTRL+SHIFT+C to copy)."
284+ echo " Log in, then choose 'Build with Parameters' and type in ${MVN_VERSION_RELEASE} "
285+ read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
293286
294287echo " "
295288echo " You will now want to inform the community about the new release!"
0 commit comments