Skip to content

Commit a3af142

Browse files
committed
fix goreleaser
1 parent 338a967 commit a3af142

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ builds:
5555
# - ghcr.io/haad/{{ .ProjectName }}:{{ .Version }}-arm64v8
5656

5757
archives:
58-
- replacements:
59-
darwin: darwin
60-
linux: linux
61-
windows: windows
62-
386: i386
63-
amd64: amd64
58+
- name_template: >-
59+
{{- .ProjectName }}_
60+
{{- title .Os }}_
61+
{{- if eq .Arch "386" }}i386
62+
{{- else }}{{ .Arch }}{{ end }}
63+
{{- if .Arm }}v{{ .Arm }}{{ end -}}
6464
checksum:
6565
name_template: 'checksums.txt'
6666
algorithm: sha256

0 commit comments

Comments
 (0)