From 41371c9d9047d7fac660e0c22c1bff3db159ae69 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Sun, 21 Oct 2018 16:54:30 +0200 Subject: [PATCH] Improve Travis uploading --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*