From 319f64db7892a78ad70896a5571b46d332a30f99 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 29 Jun 2018 13:04:29 -0700 Subject: [PATCH] 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 --- jjb/releng/releng-release-tagging.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.16.6