Automatically subrelease specified builds

This commit is contained in:
Daniil Gentili 2019-06-21 21:28:15 +02:00
parent b40a9570c0
commit 4089efe8b0

View File

@ -119,14 +119,14 @@ cd MadelineProtoPhar
cp "../madeline$php$branch.phar" .
cp ../phar.php ../mtproxyd .
echo -n $TRAVIS_COMMIT > release$php$branch
git add -A
git commit -am "Release $TRAVIS_BRANCH - $TRAVIS_COMMIT_MESSAGE"
echo "$TRAVIS_COMMIT_MESSAGE" | grep -i "subrelease" && {
cp release$php$branch release$php
cp madeline$php$branch.phar madeline$php.phar
}
git add -A
git commit -am "Release $TRAVIS_BRANCH - $TRAVIS_COMMIT_MESSAGE"
git push origin master
cd ..
echo "$TRAVIS_COMMIT_MESSAGE" | grep "Apply fixes from StyleCI" && exit