Skip to content

Commit

Permalink
goreleaser fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barnybug committed May 31, 2018
1 parent 92ab727 commit 243e755
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 243e755

Please # to comment.