Skip to content

Commit

Permalink
Change binary release naming strategy
Browse files Browse the repository at this point in the history
Prefer to keep binary name and version closer.

Separate OS and architecture from binary name and version via `_`.
  • Loading branch information
syndbg committed Apr 12, 2019
1 parent d0b017e commit 69d8636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69d8636

Please sign in to comment.