From 9f0824bb3e08ed51096609974bc9ad94e7b014d7 Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Tue, 1 Aug 2023 23:05:19 +0200 Subject: [PATCH] Update Goreleaser config: remove replacements --- .goreleaser.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b5dd7c3..9791791 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -31,13 +31,13 @@ universal_binaries: changelog: sort: asc archives: - - replacements: - linux: Linux - darwin: Darwin - windows: Windows - freebsd: FreeBSD - 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 }} format_overrides: - goos: windows format: zip