Discard git changes when doing a release on travis
This commit is contained in:
parent
96f18117bd
commit
2c1a6f2c44
@ -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.*
|
||||
|
Loading…
Reference in New Issue
Block a user