Skip to content

Commit

Permalink
Add tag and commit to bumpversion command
Browse files Browse the repository at this point in the history
  • Loading branch information
JOJ0 committed Dec 31, 2024
1 parent 0066f5d commit 99efebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ if [ -z $1 ]; then
fi

if [[ "$2" == "doit" ]]; then
bumpversion $PART --verbose
bumpversion $PART --verbose --tag --commit
echo ""
echo "All good? Then push commits and tags:"
echo "git push --follow-tags"
else
echo -e "\nTHIS IS A DRY-RUN\n"
bumpversion $PART --verbose --dry-run
bumpversion $PART --verbose --tag --commit --dry-run
fi

0 comments on commit 99efebe

Please sign in to comment.