From 2c1a6f2c44f48850be070dc6412e0d20489cb046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ken-H=C3=A5vard=20Lieng?= Date: Sat, 17 Nov 2018 12:34:12 +0100 Subject: [PATCH] Discard git changes when doing a release on travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3349b9e8..07a64084 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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.*