diff --git a/.drone.yml b/.drone.yml index 88d53ec..66745e4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,9 +23,8 @@ steps: GOPROXY: https://goproxy.io commands: - go build -o tele-recv-linux - - tar cvzf tele-recv-linux.tar.gz tele-recv-linux telegram.yaml - GOOS=windows GOARCH=amd64 go build -o tele-recv-win64.exe - - zip tele-recv-win64.zip tele-recv-win64.exe telegram.yaml + - tar cvzf tele-recv-linux.tar.gz tele-recv-linux tele-recv-win64.exe telegram.yaml - name: release image: plugins/gitea-release @@ -37,7 +36,7 @@ steps: base_url: https://gitea.int.it2000.com.cn title: 0.0.1 files: - - tele-recv-linux + - tele-recv-linux.tar.gz checksum: - sha256 when: