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