Skip to content

Instantly share code, notes, and snippets.

@tbrisker
Created July 31, 2019 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tbrisker/d51cedea51ccbcca00e72c1fc61550fe to your computer and use it in GitHub Desktop.
Save tbrisker/d51cedea51ccbcca00e72c1fc61550fe to your computer and use it in GitHub Desktop.
#!/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