Skip to content

Commit

Permalink
Fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Oct 9, 2023
1 parent 019a48b commit 58653a1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ builds:
ldflags:
- -s -w -X main.version={{.Version}}
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit 58653a1

Please sign in to comment.