fix(goreleaser): update archives name_template
Build DockerHub Image / build (push) Has been cancelled
Goreleaser / build-goreleaser (push) Has been cancelled

This commit is contained in:
LinkinStars
2023-08-02 19:32:54 +08:00
parent 6cc4a2b104
commit 3c08f31e07
+6 -5
View File
@@ -37,11 +37,12 @@ builds:
archives:
- replacements:
darwin: macOS
amd64: x86_64
linux: Linux
windows: Windows
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot: