use PR blocking code on all platforms
This commit is contained in:
@@ -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*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user