Skip to content

Commit 36c9aa4

Browse files
authored
Merge pull request #6 from arran4/fix/goreleaser-archive-collision-308032847286839959
Fix GoReleaser Archive Name Collision
2 parents d94e24d + 1b646f3 commit 36c9aa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ builds:
1111
- windows
1212
- darwin
1313
archives:
14-
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os | title }}_{{ .Arch | replace "386" "i386" | replace "amd64" "x86_64" }}'
14+
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os | title }}_{{ .Arch | replace "386" "i386" | replace "amd64" "x86_64" }}{{ with .Goamd64 }}_{{ . }}{{ end }}{{ with .Goarm }}_{{ . }}{{ end }}{{ with .Go386 }}_{{ . }}{{ end }}'
1515
checksum:
1616
name_template: 'checksums.txt'
1717
snapshot:

0 commit comments

Comments
 (0)