Created
July 31, 2019 14:01
-
-
Save tbrisker/d51cedea51ccbcca00e72c1fc61550fe 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
#!/bin/bash | |
echo $1 > VERSION | |
git commit -am "Release $1" | |
if [ -d ./extras ] | |
then | |
./extras/changelog | |
fi | |
if [ -d ./extra ] | |
then | |
./extra/changelog | |
fi | |
git commit --amend -am "Release $1" | |
git tag -s -m "Release $1" $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment