Make bump-tag branch agnostic
This commit is contained in:
parent
92c76f4f3f
commit
3fd4791273
3
bump-tag
3
bump-tag
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue