CircleCi
This commit is contained in:
parent
c9a85af74b
commit
fbb52dee36
1 changed files with 1 additions and 1 deletions
|
@ -22,5 +22,5 @@ deployment:
|
|||
- docker push ${REPO,,}:$CIRCLE_SHA1
|
||||
- go get github.com/mitchellh/gox
|
||||
- go get github.com/tcnksm/ghr
|
||||
- gox -ldflags "-X main.Version $BUILD_VERSION -X main.BuildDate $BUILD_DATE" -output "dist/$CIRCLE_PROJECT_REPONAME_{{.OS}}_{{.Arch}}"
|
||||
- gox -os "linux darwin windows" -ldflags "-X main.Version $BUILD_VERSION -X main.BuildDate $BUILD_DATE" -output "dist/$CIRCLE_PROJECT_REPONAME_{{.OS}}_{{.Arch}}"
|
||||
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --prerelease --replace `git describe --tags` dist/
|
||||
|
|
Loading…
Reference in a new issue