diff --git a/.goreleaser.yml b/.goreleaser.yml index d9b51ec7..526e6665 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,12 +13,19 @@ builds: - 6 - 7 archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 +- name_template: |- + kube-capacity_{{ .Tag }}_{{ .Os }}_{{ .Arch -}} + {{- with .Arm -}} + {{- if (eq . "6") -}}hf + {{- else -}}v{{- . -}} + {{- end -}} + {{- end -}} + replacements: + 386: i386 + amd64: x86_64 + format_overrides: + - goos: windows + format: zip checksum: name_template: 'checksums.txt' snapshot: