diff options
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6772914e..57d86ac6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,10 @@ script: - make test after_success: - - gox -tags=deploy_build -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" + - if [ ! -z "$TRAVIS_TAG" ]; then + gox -tags=deploy_build -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" + fi + deploy: provider: releases |