Skip to content

Commit

Permalink
fix: Should only release when ZANATA_RELEASE_MODE==''
Browse files Browse the repository at this point in the history
  • Loading branch information
definite committed Jan 30, 2018
1 parent 5400ecf commit 377eb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/maven-Jenkinsfile
Expand Up @@ -206,7 +206,7 @@ timestamps {
usernameVariable: 'GIT_USERNAME', passwordVariable: 'GITHUB_OAUTH2_TOKEN'
]
]) {
if ( params.ZANATA_RELEASE_MODE != '') {
if ( params.ZANATA_RELEASE_MODE == '') {
sh "git push --follow-tags https://$GIT_USERNAME:$GITHUB_OAUTH2_TOKEN@${PROJ_BASE} release"
}
}
Expand Down

0 comments on commit 377eb3f

Please sign in to comment.