Skip to content

Commit

Permalink
chore: update goreleaser ldflags (#1154)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 committed Jun 17, 2024
1 parent 602d111 commit aeae2ba
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 aeae2ba

Please sign in to comment.