Skip to content

Instantly share code, notes, and snippets.



Created Dec 17, 2015
What would you like to do?
Aliases to support semantically-versioned git tags
# First install
# With this script, you can run "vminor add more cowbell" or just "vminor"
function vbump() {
semver inc $level
git tag -a $(semver tag) -m "${*:-bump}"
git tag -n9 | grep `git describe` # show annotated
function vpatch() { vbump patch $* ; }
function vminor() { vbump minor $* ; }
function vmajor() { vbump major $* ; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment