update windows build script

This commit is contained in:
zhiqiang feng
2020-12-29 14:45:13 +08:00
parent f9ddfeaab4
commit 1a4db71b93
+1 -1
View File
@@ -23,7 +23,7 @@ steps:
GOPROXY: https://goproxy.io GOPROXY: https://goproxy.io
commands: commands:
- GOOS=linux GOARCH=amd64 go build -o tele-recv-linux - GOOS=linux GOARCH=amd64 go build -o tele-recv-linux
- GOOS=windows GOARCH=amd64 go build -o tele-recv-win64.exe - GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc go build -o tele-recv-win64.exe
- tar cvzf tele-recv-linux-0.0.4.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - tar cvzf tele-recv-linux-0.0.4.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml
- name: release - name: release