🐛 版本号丢失
This commit is contained in:
parent
68424b6309
commit
2adcc9cbc1
@ -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}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user