Skip to content

Commit

Permalink
Fix goreleaser name template
Browse files Browse the repository at this point in the history
  • Loading branch information
rgalanakis committed Jul 19, 2023
1 parent 4756541 commit a1b73a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ archives:
files:
- match-nothing-to-keep-archive-binary-only*
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{ .ProjectName }}_{{ .Version }}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else if eq .Arch "darwin" }}macos
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
Expand Down

0 comments on commit a1b73a7

Please sign in to comment.