@@ -69,13 +69,6 @@ before_deploy:
6969 fi
7070# install JQ for curl handling
7171 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install jq; else brew install jq; fi
72- # Install latest version of Go with snap
73- - eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=master bash)"
74- # get the GHR go library
75- - go version
76- - export GOPATH="$HOME/go"
77- - export PATH="$PATH:$GOPATH/bin"
78- - go get -u github.com/tcnksm/ghr
7972
8073deploy :
8174 - provider : releases
@@ -90,17 +83,26 @@ deploy:
9083 file :
9184 - dist/bunqDesktop-*.exe
9285 - dist/bunqDesktop-*.dmg
93- - dist/bunqdesktop -*.deb
94- - dist/bunqdesktop -*.snap
95- - dist/bunqdesktop -*.AppImage
86+ - dist/bunqDesktop -*.deb
87+ - dist/bunqDesktop -*.snap
88+ - dist/bunqDesktop -*.AppImage
9689 - dist/bunqDesktop-linux-unpacked.tar.gz
9790 - dist/CHECKSUMS*.sha256
9891 on :
9992 all_branches : true
10093 condition : $TRAVIS_BRANCH == 'release'
10194 - provider : script
10295 skip_cleanup : true
103- script : bash ./tasks/ghr-upload.sh
96+ script :
97+ # Install latest version of Go with snap
98+ - eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=master bash)"
99+ # get the GHR go library
100+ - go version
101+ - export GOPATH="$HOME/go"
102+ - export PATH="$PATH:$GOPATH/bin"
103+ - go get -u github.com/tcnksm/ghr
104+ # run the actual upload script
105+ - bash ./tasks/ghr-upload.sh
104106 on :
105107 all_branches : true
106108 condition : $TRAVIS_BRANCH == 'snapshot-build' || $TRAVIS_EVENT_TYPE == 'cron'
0 commit comments