Update instructions for setting version, build commit and date
This commit is contained in:
parent
3530ffd925
commit
930a63c058
|
@ -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" -build-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 github.com/tus/tusd/cmd/tusd/cli.VersionName=$TRAVIS_TAG -X github.com/tus/tusd/cmd/tusd/cli.GitCommit=$TRAVIS_COMMIT -X 'github.com/tus/tusd/cmd/tusd/cli.BuildDate=$(date --utc)'"
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
api_key:
|
api_key:
|
||||||
|
|
Loading…
Reference in New Issue