terraform-provider-stackitp.../RELEASE.md
2025-04-08 16:35:55 +02:00

28 lines
1.3 KiB
Markdown

# Release
## Release cycle
A release should be created at least every 2 weeks.
## Release creation
> [!IMPORTANT]
> Consider informing / syncing with the team before creating a new release.
1. Check out latest main branch on your machine
2. Create git tag: `git tag vX.X.X`
3. Push the git tag: `git push origin --tags`
4. The [release pipeline](https://github.com/stackitcloud/terraform-provider-stackit/actions/workflows/release.yaml) will build the release and publish it on GitHub
5. Ensure the release was created properly using the
- [GitHub releases page](https://github.com/stackitcloud/terraform-provider-stackit/releases)
- [Terraform registry](https://registry.terraform.io/providers/stackitcloud/stackit/latest)
## Troubleshooting
In case the release only shows up as a draft release in the Terraform registry, check the state of the registry update in the [settings](https://github.com/stackitcloud/terraform-provider-stackit/settings/hooks):
- Select 'edit' for the terraform registry webhook (requires authentication)
- Switch to the "recent deliveries" tab
- Check the last release, it should have positive result value and no error indication
If the delivery failed or complains that the release is a draft, try to temporariliy declare the release as a pre-release in GitHub and then revert it it immediately.