Skip to content

Instantly share code, notes, and snippets.

@tbrisker tbrisker/tag.sh
Created Jul 31, 2019

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
You can’t perform that action at this time.