Skip to content

Commit

Permalink
Discard git changes when doing a release on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
khlieng committed Nov 17, 2018
1 parent 96f1811 commit 2c1a6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ script:
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
script: git checkout -- . && curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = 1.*

0 comments on commit 2c1a6f2

Please sign in to comment.