From 4788a55dcfa9c6baad893cc412d158d00a581b19 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 8 Dec 2023 20:59:48 +0000 Subject: [PATCH] Fix deprecated goreleaser config --- .goreleaser.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 20fcc02..2c18c70 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -46,12 +46,14 @@ milestones: changelog: skip: true archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - name_template: >- + {{- .ProjectName }}_ + {{- .Version}}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} files: - notices/**/* - README*