From: Trevor Bramwell Date: Fri, 29 Jun 2018 20:04:29 +0000 (-0700) Subject: Fix release tagging script X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=319f64db7892a78ad70896a5571b46d332a30f99;p=releng.git 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 --- 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