Skip to content

Commit 5967bfe

Browse files
committed
fix: update brackets correctly
1 parent 00b9501 commit 5967bfe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jenkins/build/Jenkinsfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)