From a5dfd25ecbf6a10965dbca2aa11911719cd7ad7f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Fri, 8 Mar 2019 22:14:30 +1100 Subject: [PATCH] use PR blocking code on all platforms --- .travis/after_success.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis/after_success.sh b/.travis/after_success.sh index cd6abd13f..46b560df5 100644 --- a/.travis/after_success.sh +++ b/.travis/after_success.sh @@ -3,6 +3,12 @@ # retrieve upload tool wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh +# only create release for master +if [ "$TRAVIS_BRANCH" != "master" ] +then + export TRAVIS_EVENT_TYPE=pull_request +fi + if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then # upload final package @@ -12,12 +18,6 @@ elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - # only create release for master - if [ "$TRAVIS_BRANCH" != "master" ] - then - export TRAVIS_EVENT_TYPE=pull_request - fi - # upload final package bash upload.sh Olive*.AppImage*