Skip to content

Commit 0aaf77f

Browse files
committed
fix goreleaser
1 parent 338a967 commit 0aaf77f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.goreleaser.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ 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+
{{- .Version }}_
61+
{{- tolower .Os }}_
62+
{{- if eq .Arch "386" }}i386
63+
{{- else }}{{ tolower .Arch }}{{ end }}
64+
{{- if .Arm }}v{{ tolower .Arm }}{{ end -}}
6465
checksum:
6566
name_template: 'checksums.txt'
6667
algorithm: sha256

0 commit comments

Comments
 (0)