Use correct flag for passing ldflags to goxc

This commit is contained in:
Marius 2016-01-23 13:19:03 +01:00
parent 2a84435974
commit 35b51812d5
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ before_deploy:
- export GOROOT_BOOTSTRAP=$GOROOT - export GOROOT_BOOTSTRAP=$GOROOT
- go get github.com/laher/goxc - go get github.com/laher/goxc
- goxc -t -bc="linux darwin windows" - goxc -t -bc="linux darwin windows"
- goxc -d=./ -wd=./cmd/tusd -bc="linux darwin windows" -ldflags="-X main.VersionName=$TRAVIS_TAG -X main.GitCommit=$TRAVIS_COMMIT -X 'main.BuildDate=$(date --utc)'" - goxc -d=./ -wd=./cmd/tusd -bc="linux darwin windows" -build-ldflags="-X main.VersionName=$TRAVIS_TAG -X main.GitCommit=$TRAVIS_COMMIT -X 'main.BuildDate=$(date --utc)'"
deploy: deploy:
provider: releases provider: releases