From 5586d0cd0c22174fa075d460971105d17431d005 Mon Sep 17 00:00:00 2001 From: Aris Buzachis Date: Tue, 9 Jan 2024 15:35:04 +0200 Subject: [PATCH] fix: remove goreleaser archives.replacements Signed-off-by: Aris Buzachis --- .goreleaser.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 99321ff..cf75663 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,12 +18,15 @@ builds: mod_timestamp: '{{ .CommitTimestamp }}' 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 -}} format_overrides: - goos: windows format: zip