File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,9 +45,18 @@ signs:
4545 - " ${artifact}"
4646
4747release :
48- # Mark `vX.Y.Z-<suffix>` (e.g. -beta.1, -rc.2) as a GitHub pre-release so it
49- # is not auto-promoted to "Latest." Stable `vX.Y.Z` tags publish normally.
50- prerelease : auto
48+ # Do NOT set `prerelease: auto`. Empirically, the Terraform Registry
49+ # refuses to index GitHub releases whose `prerelease` flag is true,
50+ # even when the version itself carries a SemVer prerelease suffix
51+ # (-beta.N, -rc.N). Terraform's constraint solver already treats
52+ # such suffixes as opt-in only on the consumer side, so the GitHub
53+ # flag is redundant guardrail. Leaving it `false` (goreleaser
54+ # default) keeps Registry ingestion working; the 0.2.0-beta.* tags
55+ # used this pattern.
56+ #
57+ # If we ever ship a final stable v1.0.0, the convention is the same:
58+ # tags without a SemVer suffix become GitHub-Latest automatically,
59+ # tags with a suffix do not.
5160 extra_files :
5261 - glob : " terraform-registry-manifest.json"
5362 name_template : " {{ .ProjectName }}_{{ .Version }}_manifest.json"
You can’t perform that action at this time.
0 commit comments