diff --git a/.drone.yml b/.drone.yml index bae2916..2b20518 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,8 +23,8 @@ steps: GOPROXY: https://goproxy.io commands: - GOOS=linux GOARCH=amd64 go build -o tele-recv-linux - - GOOS=windows GOARCH=amd64 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 + - 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.5.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - name: release image: plugins/gitea-release @@ -34,9 +34,9 @@ steps: settings: api_key: fe1e1a8dd77de7452a3f473984c7ac6fe6c5abaf base_url: https://gitea.int.it2000.com.cn - title: 0.0.4 + title: 0.0.5 files: - - tele-recv-linux-0.0.4.tar.gz + - tele-recv-linux-0.0.5.tar.gz checksum: - sha256 when: