Release phar on every commit

This commit is contained in:
Daniil Gentili 2018-02-24 16:55:31 +00:00
parent d3cff5e0af
commit 410af60201

View File

@ -41,7 +41,7 @@ ssh-add madeline_rsa
git clone git@github.com:danog/MadelineProtoPhar
cd MadelineProtoPhar
cp ../madeline.phar .
echo "$TRAVIS_COMMIT_MESSAGE" | grep -q release_phar && echo -n $TRAVIS_COMMIT > release
echo -n $TRAVIS_COMMIT > release
git add -A
git commit -am "Release $TRAVIS_COMMIT"
git push origin master