File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88
99before_deploy :
1010 - mkdir -p release
11- - " GOOS=linux GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-linux-amd64"
12- - " GOOS=darwin GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-darwin-amd64"
13- - " GOOS=windows GOARCH=amd64 go build -o release/datahandlercli-v$TRAVIS_TAG-windows-amd64"
11+ - " GOOS=linux GOARCH=amd64 go build -a -ldflags '-w -extldflags \" -static \" ' -o release/datahandlercli-v$TRAVIS_TAG-linux-amd64"
12+ - " GOOS=darwin GOARCH=amd64 go build -a -ldflags '-w -extldflags \" -static \" ' - o release/datahandlercli-v$TRAVIS_TAG-darwin-amd64"
13+ - " GOOS=windows GOARCH=amd64 go build -a -ldflags '-w -extldflags \" -static \" ' - o release/datahandlercli-v$TRAVIS_TAG-windows-amd64"
1414
1515deploy :
1616 provider : releases
You can’t perform that action at this time.
0 commit comments