diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d8f367a..f279e40 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: