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