- Generate release notes using ghch
ghch --from=v1.1.1 --next-version=v1.1.2 --format=markdown
- Examine the release notes to determine what the version should be, re-run
ghch
if necessary. - Create a release branch
git checkout -b release/$VERSION
- Update version/version.go with the new version number
- Update CHANGELOG.md with the release notes
- Push your branch and open a pull request
- Once CI has passed, merge your pull request
- Create a git tag
git tag -sm $TAG $TAG
, where$TAG=v$VERSION
. Make sure the tag has av
and the version does not. - Push your tag to GitHub:
git push --tags
- Check the following builds:
- The SAR publishing pipeline: buildkite-agent-scaler-publish pipeline to update the AWS Serverless Application Repository
- The tag build on the usual pipeline
- Check the release page on GitHub for a draft release that's been created
- If you approve of the draft github release, unblock the steps in both builds.
- Once both builds are green, publish the draft GitHub release