Fix release tagging script 79/59379/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 29 Jun 2018 20:04:29 +0000 (13:04 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 29 Jun 2018 20:04:29 +0000 (13:04 -0700)
git cat-file can't output the tag information for a tag, but it can
output the commit information a tag points to.

Change-Id: I147941e2c0ba6defe212dbd0fc8c8a3a1fe0c728
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/releng/releng-release-tagging.sh

index e1b9351..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