X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frelease-job.sh;h=24bb0d6c245a9dcb107ef8e526ebcf883ecef2ec;hb=refs%2Ftags%2Fv0.85.0;hp=56e37c3d0123d5e78012da86d548640074c483de;hpb=365d0c0fe65fdb539a552c04570b24ef053659b8;p=releng%2Fglobal-jjb.git diff --git a/shell/release-job.sh b/shell/release-job.sh index 56e37c3d..24bb0d6c 100644 --- a/shell/release-job.sh +++ b/shell/release-job.sh @@ -366,7 +366,7 @@ tag-git-repo(){ git config user.name "$RELEASE_USERNAME" git config user.email "$RELEASE_EMAIL" # Check if sentinal file exists - if [[ ! -f .testhash ]]; then + if [[ -f .testhash ]]; then git push origin "${GERRIT_BRANCH}" "$GIT_TAG" else git push origin "$GIT_TAG"