The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Tag releases on github

These changes was commited to the Birdfont repository Sat, 12 Sep 2015 16:50:25 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 12 Sep 2015 16:50:25 +0000]

Updated Files

scripts/release.sh
--- a/scripts/release.sh +++ b/scripts/release.sh @@ -64,4 +64,11 @@ gpg --output ../../birdfont-$version.tar.xz.sig --detach-sig ../../birdfont-$version.tar.xz && \ cd .. && \ rm -rf ../export/birdfont-$version + + # tag the release on github + + # read github token and remove new line + token=$(cat ../../../github.token | sed -z 's/\n//g') + curl --data '{"tag_name": "v$version","target_commitish": "master","name": "v$version","body": "Version $version","draft": false,"prerelease": false}' \ + https://api.github.com/repos/johanmattssonm/birdfont.git?access_token=$token