Skip to content

Commit a0c249a

Browse files
committed
fix: use static manifest file instead of dynamic creation
- Create terraform-registry-manifest.json as a static file in the repo - Remove echo command from before hooks that was creating it dynamically - Restore extra_files configuration in checksum section - This ensures the file exists when GoReleaser looks for it
1 parent 2a1b2d4 commit a0c249a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.goreleaser.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ before:
1111
# Generate documentation
1212
- go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@latest
1313
- tfplugindocs generate
14-
# Create Terraform Registry manifest
15-
- echo '{"version":1,"metadata":{"protocol_versions":["6.0"]}}' > terraform-registry-manifest.json
1614

1715
# Build configuration
1816
builds:

terraform-registry-manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": 1,
3+
"metadata": {
4+
"protocol_versions": ["6.0"]
5+
}
6+
}

0 commit comments

Comments
 (0)