From 8db1fb4d409e7e79a49604275008da364415bbdc Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Mon, 1 Sep 2025 14:35:17 +0800 Subject: [PATCH] update goreleaser profile --- .goreleaser.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e17d4e3..022e223 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -22,7 +22,6 @@ builds: - linux - windows - darwin - - freebsd main: ./cmd/polaris ldflags: - -X polaris/db.Version={{ .Summary }} -X polaris/db.DefaultTmdbApiKey={{ .Env.TMDB_API_KEY }} @@ -32,13 +31,18 @@ builds: - arm goarm: - 7 + ignore: + - goos: darwin + goarch: arm + - goos: windows + goarch: arm archives: - formats: [tar.gz] # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ - {{- title .Os }}_ + {{- .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }}