Created
November 14, 2018 23:45
-
-
Save jamesandariese/7d7b143e5a9f764050d54ccd0c262e7f to your computer and use it in GitHub Desktop.
Increment minor version
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
# put version in VERSION file. this will increment the minor version automatically. | |
VERSION=`((tr '.' ' ' < VERSION ; echo 1+f) | dc;echo f) | dc | paste -s -d . -` | |
echo $VERSION > VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some samples of what this will do: