Last active
July 2, 2020 17:42
-
-
Save EngEryx/b7c273253ee59744ec112abe79a27059 to your computer and use it in GitHub Desktop.
This file contains 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
# Install git-semver https://github.com/hartym/git-semver | |
pip install git-semver | |
# Cd to your cool project | |
cd semver101 | |
# Assuming it's the first time with tags | |
git tag -am 0.1.0 "Cool project's version 0.1.0" | |
# Checkout tags with git-semver, she's your new magic wand from now on | |
git semver | |
# After a long time, makes cool and annoying changes... | |
## Patches | |
git semver --next-patch | |
## Minor | |
git semver --next-minor | |
## Major | |
git semver --next-major | |
# That's all, got get some coffee! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment