From d147aac98bcfcb0770b5e12f62ee27b46c1eaa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Wed, 5 Jul 2023 17:40:55 +0200 Subject: [PATCH] .goreleaser: Update deprecated syntax --- .goreleaser.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f41b647..11a92d0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,12 +18,12 @@ builds: - amd64 - arm64 archives: -- replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 +- name_template: >- + {{ .ProjectName }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} checksum: name_template: 'checksums.txt' snapshot: