Last active
April 17, 2025 21:15
-
-
Save textarcana/e102443724aaa4053859b3540c5100c1 to your computer and use it in GitHub Desktop.
bump minor version number on the latest git tag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bump the minor version of the git tag assuming the version tags are formatted like v0.0.0 | |
git tag v$(( $(git tag | sort -V | tail -n1 | cut -d. -f1))).$(( $(git tag | sort -V | tail -n1 | cut -d. -f2))).$(( $(git tag | | |
sort -V | tail -n1 | cut -d. -f3) + 1)) -m 'Bump minor version from v1.2.3 to v1.2.4' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment