🐛 版本号丢失

This commit is contained in:
naiba 2021-04-29 00:22:47 +08:00
parent 68424b6309
commit 2adcc9cbc1

View File

@ -25,8 +25,6 @@ builds:
main: ./cmd/agent main: ./cmd/agent
binary: nezha-agent binary: nezha-agent
# 为路由器、开发板缩小二进制体积 # 为路由器、开发板缩小二进制体积
ldflags:
- -s -w
hooks: hooks:
post: post:
- upx --best "{{.Path}}" - upx --best "{{.Path}}"