From 69d8636e7170a183785a873f5aec3de391a8ddb8 Mon Sep 17 00:00:00 2001 From: Anton Antonov Date: Fri, 12 Apr 2019 03:32:11 +0300 Subject: [PATCH] Change binary release naming strategy Prefer to keep binary name and version closer. Separate OS and architecture from binary name and version via `_`. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f157a95..345eb0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ script: - go run mage.go -v test after_success: - go get github.com/mitchellh/gox - - '[ "${TRAVIS_TAG}" != "" ] && [ "${TRAVIS_GO_VERSION}" = "1.12.x" ] && gox -os="linux darwin windows" -arch="amd64" -ldflags "-X github.com/sumup-oss/vaulted/version.Version=${TRAVIS_TAG}" -output "dist/{{.Dir}}-{{.OS}}-${TRAVIS_TAG}-{{.Arch}}"' + - '[ "${TRAVIS_TAG}" != "" ] && [ "${TRAVIS_GO_VERSION}" = "1.12.x" ] && gox -os="linux darwin windows" -arch="amd64" -ldflags "-X github.com/sumup-oss/vaulted/version.Version=${TRAVIS_TAG}" -output "dist/{{.Dir}}-${TRAVIS_TAG}_{{.OS}}-{{.Arch}}"' deploy: provider: releases overwrite: true