diff --git a/.travis.yml b/.travis.yml index 5e77665..1b13cbc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,9 @@ before_script: - 'mkdir -p $GOPATH/bin && wget -q https://github.com/barnybug/go-cast/releases/download/deps/upx -O $GOPATH/bin/upx && chmod +x $GOPATH/bin/upx' script: - make test -after_success: - - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash +deploy: +- provider: script + skip_cleanup: true + script: VERSION=0.34.2 curl -sL https://git.io/goreleaser | bash + on: + tags: true diff --git a/Makefile b/Makefile index 1051f34..2b91a73 100644 --- a/Makefile +++ b/Makefile @@ -30,5 +30,5 @@ release: upx release/cast-linux-386 release/cast-linux-arm release/cast-windows-386.exe upx: - goupx dist/cast-linux-amd64/cast-linux-amd64 - upx dist/cast-linux-386/cast-linux-386 dist/cast-linux-arm/cast-linux-arm dist/cast-windows-386/cast-windows-386.exe + goupx dist/go-cast-linux-amd64/cast-linux-amd64 + upx dist/go-cast-linux-386/cast-linux-386 dist/go-cast-linux-arm/cast-linux-arm dist/go-cast-windows-386/cast-windows-386.exe