summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-06-29 13:04:29 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2018-06-29 13:04:29 -0700
commit319f64db7892a78ad70896a5571b46d332a30f99 (patch)
tree995eeb2b8537bd88e4686737243fbcd4eef428a9
parent91c0b5d520bdeab00af7feeed394b5112952a29e (diff)
Fix release tagging script
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>
-rw-r--r--jjb/releng/releng-release-tagging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/releng/releng-release-tagging.sh b/jjb/releng/releng-release-tagging.sh
index e1b93518f..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