From 4089efe8b072d866ed65098bb7b3be0450646fe0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 21 Jun 2019 21:28:15 +0200 Subject: [PATCH] Automatically subrelease specified builds --- tests/makephar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/makephar.sh b/tests/makephar.sh index b1215ee6..c3326e32 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -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