X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Freleng%2Freleng-release-tagging.sh;h=f8cf9c8ea9e7206745def273694d1fec198f5ebd;hb=f63d4bda4c6dd54d22991b7577df7f885a95f90f;hp=10c0cc8c9f2019a68670d16e2d13b27add222f6e;hpb=18ebc30af6c2da4cbede2c997619fe6bfdb8cfed;p=releng.git diff --git a/jjb/releng/releng-release-tagging.sh b/jjb/releng/releng-release-tagging.sh index 10c0cc8c9..f8cf9c8ea 100644 --- a/jjb/releng/releng-release-tagging.sh +++ b/jjb/releng/releng-release-tagging.sh @@ -34,7 +34,7 @@ for release_file in $RELEASE_FILES; do echo "$tag does not exist" TAG_EXISTS=false else - git cat-file tag $tag + git cat-file commit $tag TAG_EXISTS=true fi @@ -57,7 +57,7 @@ for release_file in $RELEASE_FILES; do echo "--> Creating $tag tag for $repo at $ref" git tag -am "$tag" $tag $ref echo "--> Pushing tag" - echo "[noop] git push origin $tag" + git push origin $tag else # For non-merge jobs just output the ref info. git show -s --format="%h %s %d" $ref