From a9e0b43a0e5b5105dfe821001fac80d55fa8b95f Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Fri, 13 Dec 2019 22:47:29 +0100 Subject: [PATCH] chore: add goreleaser config file --- .goreleaser.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..b576910 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,40 @@ +before: + hooks: + - go mod tidy +builds: +- flags: + - -trimpath + env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - 386 + - amd64 + - arm + - arm64 + ignore: + - goos: darwin + goarch: 386 +archives: +- format: binary + format_overrides: + - goos: windows + format: zip +checksum: + name_template: '{{ .ProjectName }}-{{ .Version }}-SHA512SUMS' + algorithm: sha512 +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' +signs: + - artifacts: checksum + signature: "${artifact}.GPG" + args: ["--batch", "--local-user", "release-bot@kapow", "--output", "${signature}", "--armor", "--clear-sign", "${artifact}"]