From 395a33d324d05aa8b04d7cf96630acb4928b4972 Mon Sep 17 00:00:00 2001 From: rsteube Date: Mon, 10 Jul 2023 12:01:07 +0200 Subject: [PATCH] fix goreleaser --- .goreleaser.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1a57ff365..c31c58425 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -21,13 +21,10 @@ builds: main: ./example-nonposix binary: example-nonposix archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 - name_template: "example_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + - name_template: 'example_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' + format_overrides: + - goos: windows + format: zip checksum: name_template: 'checksums.txt' snapshot: