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,7 +9,8 @@ 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:
- id: zip
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements: replacements:
linux: Linux linux: Linux
@ -25,4 +26,3 @@ changelog:
exclude: exclude:
- '^docs:' - '^docs:'
- '^test:' - '^test:'