Skip to content

Commit 29ed1e6

Browse files
authored
chore: update goreleaser (#158)
1 parent 16016a0 commit 29ed1e6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.goreleaser.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ snapshot:
1818
name_template: '{{ incpatch .Version }}-next'
1919

2020
archives:
21-
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
22-
replacements:
23-
darwin: Darwin
24-
linux: Linux
25-
windows: Windows
26-
386: i386
27-
amd64: x86_64
21+
- name_template: >-
22+
{{ .ProjectName }}_
23+
{{- title .Os }}_
24+
{{- if eq .Arch "amd64" }}x86_64
25+
{{- else if eq .Arch "386" }}i386
26+
{{- else }}{{ .Arch }}{{ end }}
2827
format_overrides:
2928
- goos: windows
3029
format: zip

0 commit comments

Comments
 (0)