update goreleaser

This commit is contained in:
Niko Storni 2020-01-11 22:11:44 -05:00
parent 93f9185c71
commit 62a1a0eed5
No known key found for this signature in database
GPG key ID: 951CA4715245B535

View file

@ -9,12 +9,13 @@ builds:
- amd64 - amd64
ldflags: ldflags:
- -X "{{ .Env.IMPORTPATH }}/meta.semVersion={{ .Tag }}" -X "{{ .Env.IMPORTPATH }}/meta.version={{ .Env.VERSIONSHORT }}" -X "{{ .Env.IMPORTPATH }}/meta.versionLong={{ .Env.VERSIONLONG }}" -X "{{ .Env.IMPORTPATH }}/meta.commitMsg={{ .Env.COMMITMSG }}" - -X "{{ .Env.IMPORTPATH }}/meta.semVersion={{ .Tag }}" -X "{{ .Env.IMPORTPATH }}/meta.version={{ .Env.VERSIONSHORT }}" -X "{{ .Env.IMPORTPATH }}/meta.versionLong={{ .Env.VERSIONLONG }}" -X "{{ .Env.IMPORTPATH }}/meta.commitMsg={{ .Env.COMMITMSG }}"
archive: archives:
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' - id: zip
replacements: name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
linux: Linux replacements:
amd64: x86_64 linux: Linux
format: zip amd64: x86_64
format: zip
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'
snapshot: snapshot:
@ -25,4 +26,3 @@ changelog:
exclude: exclude:
- '^docs:' - '^docs:'
- '^test:' - '^test:'