mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-07-17 17:01:15 +00:00
chore: update goreleaser ldflags (#1154)
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
602d111d85
commit
aeae2ba765
@ -14,9 +14,10 @@ builds:
|
|||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w -X main.version={{.Version}}
|
- -s -w
|
||||||
- -s -w -X main.commit={{.ShortCommit}}
|
- -X main.version={{.Version}}
|
||||||
- -s -w -X main.Date={{.CommitDate}}
|
- -X main.commit={{.ShortCommit}}
|
||||||
|
- -X main.Date={{.CommitDate}}
|
||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}"
|
- file_name_template: "{{ .ProjectName }}_{{ .Arch }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user