From 364a3dd6fe375ee89b27963541b1509fc7334779 Mon Sep 17 00:00:00 2001 From: Conor Mongey Date: Tue, 11 Aug 2020 21:56:11 +0100 Subject: [PATCH] Fixup release script to be compatible with terraform 0.13 --- .goreleaser.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 346a615..4217a7e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,9 +4,10 @@ builds: env: - CGO_ENABLED=0 goos: - - darwin - - linux + - freebsd - windows + - linux + - darwin goarch: - amd64 - 386 @@ -14,8 +15,17 @@ builds: - arm64 goarm: - 7 + ignore: + - goos: darwin + goarch: '386' + - goos: freebsd + goarch: 'arm64' +archives: +- format: zip + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' + checksum: - name_template: '{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS' + name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' algorithm: sha256 signs: - artifacts: checksum @@ -27,4 +37,4 @@ signs: - "--detach-sign" - "${artifact}" snapshot: - name_template: "{{ .Tag }}-next" + name_template: "{{ .Version }}-next"