Fix deprecation in goreleaser

This commit is contained in:
Wim 2019-09-07 23:37:49 +02:00
parent 294139ce7a
commit f92927eae5

View File

@ -21,14 +21,18 @@ builds:
ldflags: ldflags:
- -s -w -X main.githash={{.ShortCommit}} - -s -w -X main.githash={{.ShortCommit}}
archive: archives:
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" -
format: binary id: matterbridge
files: builds:
- none* - matterbridge
replacements: name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
386: 32bit format: binary
amd64: 64bit files:
- none*
replacements:
386: 32bit
amd64: 64bit
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'