Skip to content

Commit

Permalink
bump-tag: Compare against current branch
Browse files Browse the repository at this point in the history
Mariah pointed out that this was lost in:

6ac9294

And should be reinstated
  • Loading branch information
mickenordin authored and theseal committed Nov 15, 2023
1 parent 8a947ff commit 083d6ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bump-tag
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 083d6ed

Please sign in to comment.