1. AWS Internal - Accelerator Release Process(link)
1.1. Creating a new Accelerator Code Release(link)
- Ensure
mainbranch is in a suitable state - Disable branch protection for both the
mainbranch and for therelease/branches -
Create a version branch with SemVer semantics and a
release/prefix: e.g.release/v1.0.5orrelease/v1.0.5-busing github UI or using the commands below- On latest
main, run:git checkout -b release/vX.Y.Z - Important: Certain git operations are ambiguous if tags and branches have the same name. Using the
release/prefix reserves the actual version name for the tag itself; i.e. everyrelease/vX.Y.Zbranch will have a correspondingvX.Y.Ztag. - Push that branch to GitHub (if created locally)
git push origin release/vX.Y.Z
- On latest
-
The release workflow will run, and create a DRAFT release if successful with all commits since the last tagged release.
- Prune the commits that have been added to the release notes (e.g. remove any low-information commits)
- Publish the release - this creates the git tag in the repo and marks the release as latest. It also bumps the
versionkey in several projectpackage.jsonfiles. -
Re-enable branch protection for both the
mainbranch and for therelease/branches- Note: The
Publishoperation will run the following GitHub Action, which merges therelease/vX.Y.Zbranch tomain. Branch Protection in GitHub will cause this to fail, and why we are momentarily disabling branch protection.
- Note: The