Skip to content

Commit

Permalink
Fix the deploy binaries without clientid
Browse files Browse the repository at this point in the history
  • Loading branch information
slurdge committed Mar 7, 2020
1 parent a8f5f12 commit c9c7748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ script:
- go build -ldflags "-X github.com/slurdge/goeland/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY} -X github.com/slurdge/goeland/version.BuildDate=${BUILD_DATE} -X github.com/slurdge/goeland/internal/goeland.clientID=${IMGUR_CLIENT_ID}"

before_deploy:
- gox -osarch="linux/386 linux/amd64 linux/arm darwin/amd64 windows/amd64 windows/386" -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X github.com/slurdge/goeland/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY} -X github.com/slurdge/goeland/version.BuildDate=${BUILD_DATE} -s -w"
- gox -osarch="linux/386 linux/amd64 linux/arm darwin/amd64 windows/amd64 windows/386" -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}" -ldflags "-X github.com/slurdge/goeland/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY} -X github.com/slurdge/goeland/version.BuildDate=${BUILD_DATE} -X github.com/slurdge/goeland/internal/goeland.clientID=${IMGUR_CLIENT_ID} -s -w"
- upx -9 ./build/*

deploy:
Expand Down

0 comments on commit c9c7748

Please sign in to comment.