diff --git a/.goreleaser.yml b/.goreleaser.yml index 561e6b5..13c0b21 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -38,17 +38,17 @@ archives: - id: binary format: binary name_template: >- - {{ .Binary }}_ + {{- .ProjectName }}_ + {{- .Version }}_ {{- .Os }}_ - {{- if eq .Arch "amd64" }}x64{{ end }} - {{- if eq .Arch "386" }}x86{{ end }} - {{- if eq .Arch "arm64" }}arm64{{ end }} - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} + builds: + - cursor-id-modifier + allow_different_binary_count: true + files: + - none* checksum: name_template: 'checksums.txt'