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: