diff --git a/.travis.yml b/.travis.yml index cf380d1..09bb3c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ script: after_success: - ls -lh # make sure only pushes to rewrite create a new release, otherwise pretend PR and upload to transfer.sh - - if [ "$TRAVIS_BRANCH" != "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi + - if [ "$TRAVIS_TAG" != "$TRAVIS_BRANCH" ] && [ "$TRAVIS_BRANCH" == "master" ]; then export TRAVIS_EVENT_TYPE=pull_request; fi - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - bash upload.sh linuxdeploy-"$ARCH".AppImage*