File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -88,25 +88,25 @@ podTemplate(
8888 sh " ./cicd/scripts/lint-commits.sh"
8989 }
9090 }
91- }
9291
93- stage(' Release' ) {
92+ stage(' Release' ) {
9493 if (currentBuild. result == null || currentBuild. result == ' SUCCESS' ) {
9594 container(" semantic-release-poetry" ) {
9695 withCredentials([string(credentialsId : ' github-oauth' , variable : ' GH_TOKEN' )]) {
9796 withEnv([" GH_TOKEN=${ GH_TOKEN} " ]) {
9897 sh " semantic-release --dry-run"
99- }
100- if (helper. getBranchName() == ' main' && ! helper. isPRBuild()) {
101- withEnv([" GH_TOKEN=${ GH_TOKEN} " ]) {
98+ }
99+ if (helper. getBranchName() == ' main' && ! helper. isPRBuild()) {
100+ withEnv([" GH_TOKEN=${ GH_TOKEN} " ]) {
102101 sh " poetry config repositories.artifact-registry"
103102 sh " semantic-release"
104103 }
105104 }
106105 }
107106 }
108107 }
108+ }
109109 }
110110 }
111111 }
112- }
112+ }
You can’t perform that action at this time.
0 commit comments