build add linux os parameter
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user