From b3c4e7615be070ceec887ed39fb078f89c271926 Mon Sep 17 00:00:00 2001 From: Christoph Petrausch <263448+hikhvar@users.noreply.github.com> Date: Thu, 14 Dec 2023 23:17:40 +0100 Subject: [PATCH] Fix goreleaser deprecation --- .goreleaser.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1d61803..5ec7787 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,12 +45,15 @@ builds: - hardfloat - softfloat archives: -- replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 +- name_template: + 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 -}} checksum: name_template: 'checksums.txt' snapshot: