File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ milestone: "3.0.x"
1212build-name : " spring-boot"
1313concourse-url : " https://ci.spring.io"
1414task-timeout : 2h00m
15+ final-release : false
Original file line number Diff line number Diff line change @@ -402,6 +402,7 @@ jobs:
402402 timeout : ((task-timeout))
403403 file : git-repo/ci/tasks/stage.yml
404404 params :
405+ FINAL_RELEASE : ((final-release))
405406 RELEASE_TYPE : M
406407 << : *gradle-enterprise-task-params
407408 << : *docker-hub-task-params
@@ -425,6 +426,7 @@ jobs:
425426 timeout : ((task-timeout))
426427 file : git-repo/ci/tasks/stage.yml
427428 params :
429+ FINAL_RELEASE : ((final-release))
428430 RELEASE_TYPE : RC
429431 << : *gradle-enterprise-task-params
430432 << : *docker-hub-task-params
@@ -448,6 +450,7 @@ jobs:
448450 timeout : ((task-timeout))
449451 file : git-repo/ci/tasks/stage.yml
450452 params :
453+ FINAL_RELEASE : ((final-release))
451454 RELEASE_TYPE : RELEASE
452455 << : *gradle-enterprise-task-params
453456 << : *docker-hub-task-params
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null
3838./gradlew --no-daemon --max-workers=4 -PdeploymentRepository=${repository} build publishAllPublicationsToDeploymentRepository
3939
4040git reset --hard HEAD^ > /dev/null
41- if [[ $nextVersion != $snapshotVersion ]]; then
41+ if [[ $FINAL_RELEASE != true && $ nextVersion != $snapshotVersion ]]; then
4242 echo " Setting next development version (v$nextVersion )"
4343 sed -i " s/version=$snapshotVersion /version=$nextVersion /" gradle.properties
4444 git add gradle.properties > /dev/null
Original file line number Diff line number Diff line change 88params :
99 RELEASE_TYPE :
1010 CI : true
11+ FINAL_RELEASE :
1112 GRADLE_ENTERPRISE_CACHE_URL :
1213 GRADLE_ENTERPRISE_CACHE_USERNAME :
1314 GRADLE_ENTERPRISE_CACHE_PASSWORD :
You can’t perform that action at this time.
0 commit comments