build add linux os parameter

This commit is contained in:
zhiqiang feng
2020-12-28 11:09:41 +08:00
parent 2cbfbdbbca
commit 5d3a802f83
+1 -1
View File
@@ -22,7 +22,7 @@ steps:
GO111MODULE: on GO111MODULE: on
GOPROXY: https://goproxy.io GOPROXY: https://goproxy.io
commands: commands:
- go build -o tele-recv-linux - GOOS=linux GOARCH=amd64go build -o tele-recv-linux
- GOOS=windows GOARCH=amd64 go build -o tele-recv-win64.exe - GOOS=windows GOARCH=amd64 go build -o tele-recv-win64.exe
- tar cvzf tele-recv-linux-0.0.2.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - tar cvzf tele-recv-linux-0.0.2.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml