chore: update .goreleaser.yml to include custom archive naming with arch override logic

This commit is contained in:
Luis Pater
2026-05-02 00:09:08 +08:00
parent b0dc9df887
commit e37f3be0bf

View File

@@ -19,6 +19,8 @@ builds:
archives:
- id: "cli-proxy-api"
format: tar.gz
name_template: >-
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{- if eq .Arch "arm64" -}}aarch64{{- else -}}{{ .Arch }}{{- end -}}
format_overrides:
- goos: windows
format: zip