Skip to content

Commit

Permalink
chore: update goreleaser ldflags (k8sgpt-ai#1154)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
chenrui333 authored and AlexsJones committed Jul 1, 2024
1 parent f4dbc2e commit 2cbaedf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 2cbaedf

Please sign in to comment.