mirror of https://gitee.com/answerdev/answer.git
fix(goreleaser): update archives name_template
This commit is contained in:
parent
6cc4a2b104
commit
3c08f31e07
|
@ -37,11 +37,12 @@ builds:
|
||||||
|
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- replacements:
|
- name_template: >-
|
||||||
darwin: macOS
|
{{ .ProjectName }}_
|
||||||
amd64: x86_64
|
{{- title .Os }}_
|
||||||
linux: Linux
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
windows: Windows
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
|
|
Loading…
Reference in New Issue