fix: version cmd

This commit is contained in:
2024-03-19 23:35:13 +08:00
committed by Nite07
parent d0bb03cd1e
commit 646c18b207
7 changed files with 8 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ builds:
- arm
- "386"
ldflags:
- -s -w -X sub2sing-box/main.Version={{ .Version }}
- -s -w -X sub2sing-box/constant.Version={{ .Version }}
flags:
- -trimpath
no_unique_dist_dir: true