- Merge all your changes to the stable branch
- If any of the changes upgrades Go version, make sure that you have followed the Go upgrade checklist.
- Update CHANGELOG.md
- Add new heading with the correct version e.g.
## [v2.3.5]
- Update links at the bottom of the page
- Leave "Unreleased" section at the top empty
- Add new heading with the correct version e.g.
- Tag the release
vX.Y.Z
(e.g.v2.3.5
) - Push the tag to GitHub
- Push the tag to the internal GitLab repo
- This will fire an internal CI job that signs the code & creates a new draft release for the tag in GitHub
- Open the draft release in GitHub & publish it when you are happy with it
- The Terraform registry will pick up the release