From 35c4215c0fce9ac146668438c6291f01321182c7 Mon Sep 17 00:00:00 2001 From: Aaron Liu <912394456@qq.com> Date: Fri, 10 Feb 2023 12:13:14 +0800 Subject: [PATCH] chore: update archive config to keep original arch name --- .goreleaser.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: