build: add ldflags for optimized binary size in goreleaser configuration

This commit is contained in:
bit 2026-04-08 21:06:43 +08:00
parent 63e716348d
commit 5ca07d4464

View File

@ -26,6 +26,8 @@ builds:
goamd64: goamd64:
- v1 - v1
- v4 - v4
ldflags:
- -s -w
# goarm: # goarm:
# - 6 # - 6
# - 7 # - 7