From 590854ba6ac50fd1f87c82992fc6ed0efe9e955c Mon Sep 17 00:00:00 2001 From: reugn Date: Sat, 18 May 2024 22:29:47 +0300 Subject: [PATCH] ci: update goreleaser template configuration --- cmd/wifiqr/.goreleaser.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/wifiqr/.goreleaser.yml b/cmd/wifiqr/.goreleaser.yml index e6025db..46c2274 100644 --- a/cmd/wifiqr/.goreleaser.yml +++ b/cmd/wifiqr/.goreleaser.yml @@ -13,9 +13,12 @@ builds: - arm64 - 386 archives: - - replacements: - darwin: macos - amd64: x86_64 + - name_template: >- + {{ .ProjectName }}_{{ .Version }}_ + {{- if eq .Os "darwin" }}macos + {{- else }}{{ .Os }}{{ end }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows format: zip \ No newline at end of file