Fixup release script to be compatible with terraform 0.13

This commit is contained in:
Conor Mongey
2020-08-11 21:56:35 +01:00
parent 17c01e8598
commit 364a3dd6fe
+14 -4
View File
@@ -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"