From 10bb79c6973ff936eac6c9cb5a599a44e39bd3a2 Mon Sep 17 00:00:00 2001 From: Guilhem Lettron Date: Mon, 11 Mar 2024 10:00:25 +0100 Subject: [PATCH] fix: deprecation goreleaser --- .goreleaser.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a6978b9..95b2410 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,12 +1,13 @@ builds: - binary: bump 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 }} + {{- if .Arm }}v{{ .Arm }}{{ end -}} checksum: name_template: 'checksums.txt' snapshot: @@ -34,7 +35,7 @@ snapcrafts: plugs: home: brews: - - tap: + - repository: owner: guilhem name: homebrew-tap token: "{{ .Env.TAP_TOKEN }}"