Make bump-tag branch agnostic

This commit is contained in:
Micke Nordin 2023-04-25 17:19:18 +02:00
parent 92c76f4f3f
commit 3fd4791273
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -24,7 +24,8 @@ 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 --color $last_tag..master
this_branch=$(git rev-parse --abbrev-ref HEAD)
PAGER=cat git diff --color $last_tag..$this_branch
iter=1
ok=