- Merge release PR.
Note
Depending on your local Go build cache, you may hit "out of disk space" issues in $TMP" errors. To workaround this, run the release script multiple times while the cache is rebuilt. The script is idempotent and is fine to be run multiple times to get all the artifacts.
- Merge GitHub release PR.
- Load Terraform GPG key into local keychain.
- Set the GPG fingerprint.
export GPG_FINGERPRINT="..." - Ensure GoReleaser is installed.
- Locally checkout the release tag.
- Run
script/release. - Open GitHub release and edit it.
- Upload all binary archives,
terraform-provider-cloudflare_<version>_SHA256SUMS,terraform-provider-cloudflare_<version>_SHA256SUMS.sigandterraform-provider-cloudflare_<version>_manifest.jsonto the GitHub release. - Trigger the resync Terraform registry releases CI job.