Skip to content

Commit 88ccaad

Browse files
Merge pull request #3 from spiegel-im-spiegel/refactoring
update .travis.yml
2 parents 7e92e30 + 8ae0e0c commit 88ccaad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ before_deploy:
1111
- go get -v github.com/tcnksm/ghr
1212

1313
after_deploy:
14-
- gox -output "goxdist/{{.OS}}_{{.Arch}}_`git tag | tail -1`/{{.Dir}}" -ldflags "-X main.Version=`git tag | tail -1`"
14+
- gox -output "goxdist/{{.OS}}_{{.Arch}}_${TRAVIS_TAG}/{{.Dir}}" -ldflags "-X main.Version=${TRAVIS_TAG}"
1515
- sh scripts/package.sh
16-
- ghr --username spiegel-im-spiegel --token $GITHUB_TOKEN `git tag | tail -1` goxdist/dist/
16+
- ghr --username spiegel-im-spiegel --token $GITHUB_TOKEN ${TRAVIS_TAG} goxdist/dist/

0 commit comments

Comments
 (0)