Skip to content

Commit

Permalink
Add terraform manifest in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Etienne Carriere committed Jul 15, 2022
1 parent 8c4854d commit 0b6d361
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ archives:
- 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:
Expand All @@ -43,9 +46,11 @@ signs:
- "${signature}"
- "--detach-sign"
- "${artifact}"

release:
# Visit your project's GitHub Releases page to publish this release.
draft: true
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
changelog:
skip: true
skip: true

0 comments on commit 0b6d361

Please sign in to comment.