The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Release tagging

These changes was commited to the Birdfont repository Sat, 12 Sep 2015 18:49:18 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 12 Sep 2015 18:49:18 +0000 (20:49 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 12 Sep 2015 18:49:18 +0000 (20:49 +0200)
commit 96a906e632c7d05ebe7e5c54f83e9037a97a3022
tree 36d462adfca130a8e7327887d8eefb9670065742
parent 4555188a6ecfd356b0c5d752322cd5072a519981
Release tagging

scripts/release.sh
--- a/scripts/release.sh +++ b/scripts/release.sh @@ -22,6 +22,13 @@ cd export version=$(cat ../../scripts/version.py | grep "VERSION = '" | grep -v "SO_VERSION" | sed -e "s:VERSION = '::" | sed "s:'.*::g") + + if ! git diff --exit-code > /dev/null; then + echo "Uncommitted changes, commit before creating the release." + exit 1 + fi + + git tag -a v$version -m "Version $version" echo "Creating a release fo version $version"