chore: update goreleaser ldflags (#1154)

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2024-06-17 14:59:20 -04:00 committed by GitHub
parent 602d111d85
commit aeae2ba765
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,9 +14,10 @@ builds:
- windows
- darwin
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X main.commit={{.ShortCommit}}
- -s -w -X main.Date={{.CommitDate}}
- -s -w
- -X main.version={{.Version}}
- -X main.commit={{.ShortCommit}}
- -X main.Date={{.CommitDate}}
nfpms:
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}"