update goreleaser
This commit is contained in:
parent
93f9185c71
commit
62a1a0eed5
1 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||||
|
@ -24,5 +25,4 @@ changelog:
|
||||||
filters:
|
filters:
|
||||||
exclude:
|
exclude:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
|
|
Loading…
Reference in a new issue