bump-tag: Compare against current branch

Mariah pointed out that this was lost in:

6ac9294dea

And should be reinstated
This commit is contained in:
Micke Nordin 2023-11-15 12:11:52 +01:00 committed by Johan Wassberg
parent 8a947ffa28
commit 083d6eda83

View file

@ -25,7 +25,8 @@ if [[ -n ${last_tag} ]]; then
echo ""
echo "Differences between tag ${last_tag} and what you are about to sign:"
env PAGER=cat git diff --color "${last_tag}..main"
this_branch=$(git rev-parse --abbrev-ref HEAD)
env PAGER=cat git diff --color "${last_tag}..${this_branch}"
iter=1
ok=