add: version cmd

add: dockerfile
This commit is contained in:
2024-03-13 00:11:34 +08:00
parent 2a6e427c4c
commit 4c2ea5896b
8 changed files with 138 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ builds:
- arm
- "386"
ldflags:
- -s -w
- -s -w -X sub2sing-box/main.Version={{ .Version }}
no_unique_dist_dir: true
binary: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
archives: