Skip to content

Instantly share code, notes, and snippets.

@tbrisker
Created July 31, 2019 14:01
Embed
What would you like to do?
#!/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