From: probonopd Date: Sun, 12 Nov 2017 16:40:30 +0000 (+0100) Subject: Do not upload continuous builds to GitHub Releases, only tagged builds X-Git-Tag: 7.0.7-12~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbb478d902bc0d7f275617a4efa03df77f368a15;p=imagemagick Do not upload continuous builds to GitHub Releases, only tagged builds As per https://github.com/ImageMagick/ImageMagick/pull/858#issuecomment-343748901 --- diff --git a/.travis.yml b/.travis.yml index f908b06a9..136a8543f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,8 +35,8 @@ script: after_success: - find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq - - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh - - bash upload.sh ImageMagick*AppImage* + - if [ "$TRAVIS_BRANCH" == "TRAVIS_TAG" ] ; then wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh ; bash upload.sh ImageMagick*AppImage* ; fi + - if [ "$TRAVIS_BRANCH" != "TRAVIS_TAG" ] ; then curl --upload-file ./ImageMagick*.AppImage https://transfer.sh/ImageMagick-git.$(git rev-parse --short HEAD)-x86_64.AppImage ; fi branches: except: