.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