use PR blocking code on all platforms

This commit is contained in:
itsmattkc
2019-03-08 22:14:30 +11:00
parent 27cb7c8885
commit a5dfd25ecb
+6 -6
View File
@@ -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*