We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e92e30 + 8ae0e0c commit 88ccaadCopy full SHA for 88ccaad
.travis.yml
@@ -11,6 +11,6 @@ before_deploy:
11
- go get -v github.com/tcnksm/ghr
12
13
after_deploy:
14
- - gox -output "goxdist/{{.OS}}_{{.Arch}}_`git tag | tail -1`/{{.Dir}}" -ldflags "-X main.Version=`git tag | tail -1`"
+ - gox -output "goxdist/{{.OS}}_{{.Arch}}_${TRAVIS_TAG}/{{.Dir}}" -ldflags "-X main.Version=${TRAVIS_TAG}"
15
- sh scripts/package.sh
16
- - ghr --username spiegel-im-spiegel --token $GITHUB_TOKEN `git tag | tail -1` goxdist/dist/
+ - ghr --username spiegel-im-spiegel --token $GITHUB_TOKEN ${TRAVIS_TAG} goxdist/dist/
0 commit comments