From d596281e3436c41b256ad3f4ddb0bd670175dc69 Mon Sep 17 00:00:00 2001 From: Adrian Rudnik Date: Sat, 25 Apr 2020 16:00:09 +0200 Subject: [PATCH] upgraded goreleaser file to latest version --- .goreleaser.yml | 55 ++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a3641c7..c331ebb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -20,16 +20,17 @@ builds: - 386 - amd64 -archive: - replacements: - darwin: darwin - linux: linux - windows: windows - 386: i386 - amd64: amd64 - format_overrides: - - goos: windows - format: zip +archives: + - + replacements: + darwin: darwin + linux: linux + windows: windows + 386: i386 + amd64: amd64 + format_overrides: + - goos: windows + format: zip checksum: name_template: 'checksums.txt' @@ -37,23 +38,25 @@ checksum: snapshot: name_template: "{{ .Tag }}-next" -snapcraft: - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" - replacements: - amd64: 64-bit - 386: 32-bit - darwin: macOS - linux: Tux - publish: true - summary: Go based cmd tool for URI escaping, parsing and extraction. - description: Go based command line tool for URI escaping/encoding, unescaping/decoding and parsing parts of the URI. - grade: stable - confinement: strict +snapcrafts: + - + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + replacements: + amd64: 64-bit + 386: 32-bit + darwin: macOS + linux: Tux + publish: true + summary: Go based cmd tool for URI escaping, parsing and extraction. + description: Go based command line tool for URI escaping/encoding, unescaping/decoding and parsing parts of the URI. + grade: stable + confinement: strict -sign: - artifacts: checksum - cmd: gpg - args: ["-u", "A6349E78C6E207654029D63D684AF415E326EE40", "--output", "${signature}", "--detach-sign", "${artifact}"] +signs: + - + artifacts: checksum + cmd: gpg + args: ["-u", "A6349E78C6E207654029D63D684AF415E326EE40", "--output", "${signature}", "--detach-sign", "${artifact}"] changelog: sort: asc