The Birdfont Source Code


All Repositories / xmlbird.git / commit – RSS feed

Release tags

These changes was commited to the Birdfont repository Mon, 28 Dec 2015 11:26:05 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/xmlbird.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 28 Dec 2015 11:26:05 +0000 (12:26 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 28 Dec 2015 11:26:21 +0000 (12:26 +0100)
commit fe5c553ea7fdc0c6cf19470addca646aa1e648aa
tree 1a82cd962a977fccf696d1f7814018973ba73d69
parent 31598442332365658ad8896a2dc91d1eb515c814
Release tags

scripts/release.sh
--- a/scripts/release.sh +++ b/scripts/release.sh @@ -8,6 +8,20 @@ cd export version=$(cat ../../scripts/version.py | grep "XMLBIRD_VERSION = '" | sed -e "s:XMLBIRD_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" + + if [ $? -ne 0 ] ; then + echo "Can't create release tag" + exit 1 + fi + + echo "Creating a release fo version $version" rm -rf libxmlbird-$version