From f6c03109ceb05364d8d15808b9bf2d8facc4035a Mon Sep 17 00:00:00 2001 From: Manuel Ganter Date: Tue, 18 Nov 2025 14:00:09 +0100 Subject: [PATCH] updated goreleaser to match tf expectation --- .goreleaser.yaml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1bf1eca..bb35f3e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -17,19 +17,15 @@ builds: - arm64 archives: - - formats: [tar.gz] - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} - {{- if .Arm }}v{{ .Arm }}{{ end }} - # use zip for windows archives - format_overrides: - - goos: windows - formats: [zip] + - format: zip + name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}' + +checksum: + extra_files: + - glob: 'terraform-registry-manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json' + name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS' + algorithm: sha256 signs: - artifacts: checksum