summaryrefslogtreecommitdiff
path: root/bump-tag
diff options
context:
space:
mode:
Diffstat (limited to 'bump-tag')
-rwxr-xr-xbump-tag10
1 files changed, 8 insertions, 2 deletions
diff --git a/bump-tag b/bump-tag
index b163569..aed35e2 100755
--- a/bump-tag
+++ b/bump-tag
@@ -11,8 +11,13 @@ tagpfx=${tag:="$deftag"}
last_tag=`git tag -l "${tagpfx}-*"|sort|tail -1`
-git tag -v $last_tag
+echo "Verifying last tag $last_tag:"
+(git tag -v $last_tag | grep ^gpg:) || true
+# again to not mask exit status of git with grep
+git tag -v $last_tag > /dev/null 2>&1
+echo ""
+echo "Differences between tag $last_tag and what you are about to sign:"
PAGER=cat git diff $last_tag..master
iter=1
@@ -29,7 +34,8 @@ while test -z "$ok"; do
esac
done
-echo using new tag $this_tag
+echo ""
+echo "Using new tag $this_tag"
echo ONLY SIGN IF YOU APPROVE OF VERIFICATION AND DIFF ABOVE
# GITTAGEXTRA is for putting things like "-u 2117364A"