chore: update archive config to keep original arch name

pull/1638/head
Aaron Liu 2 years ago
parent 3db803ed38
commit 35c4215c0f

@ -41,10 +41,7 @@ archives:
# this name template makes the OS and Arch compatible with the results of uname. # this name template makes the OS and Arch compatible with the results of uname.
name_template: >- name_template: >-
cloudreve_ cloudreve_
{{- .Os }}_ {{- .Os }}_{{ .Arch }}
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives # use zip for windows archives
format_overrides: format_overrides:

Loading…
Cancel
Save