From 62a1a0eed52eb09bb45a3c0fddeac4c26e5f4c51 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Sat, 11 Jan 2020 22:11:44 -0500 Subject: [PATCH] update goreleaser --- .goreleaser.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 133e7d8..d319ca7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,12 +9,13 @@ builds: - amd64 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 }}" -archive: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' - replacements: - linux: Linux - amd64: x86_64 - format: zip +archives: + - id: zip + name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' + replacements: + linux: Linux + amd64: x86_64 + format: zip checksum: name_template: 'checksums.txt' snapshot: @@ -24,5 +25,4 @@ changelog: filters: exclude: - '^docs:' - - '^test:' - + - '^test:' \ No newline at end of file