diff --git a/.goreleaser.yml b/.goreleaser.yml index 3b2cb19..fc6ee0a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -25,8 +25,6 @@ builds: main: ./cmd/agent binary: nezha-agent # 为路由器、开发板缩小二进制体积 - ldflags: - - -s -w hooks: post: - upx --best "{{.Path}}"