Fix release tagging script
[releng.git] / jjb / releng / releng-release-tagging.sh
index 10c0cc8..f8cf9c8 100644 (file)
@@ -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