Skip to content

Commit e6af99e

Browse files
committed
fix goreleaser
1 parent 5b7aa85 commit e6af99e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ builds:
2121
goarch: arm64
2222
archives:
2323
-
24-
replacements:
25-
darwin: macOS
26-
linux: Linux
27-
windows: Windows
28-
386: 32-bit
29-
amd64: 64-bit
24+
name_template: >-
25+
{{ .ProjectName }}_
26+
{{- title .Os }}_
27+
{{- if eq .Arch "amd64" }}x86_64
28+
{{- else if eq .Arch "386" }}i386
29+
{{- else }}{{ .Arch }}{{ end }}
3030
format_overrides:
3131
- goos: windows
3232
format: zip

0 commit comments

Comments
 (0)