Patch release process
Patch releases are necessary from time to time to release critical bug fixes or features with a deadline earlier than a scheduled release. Below are two options for creating a patch.
Patches do not require scheduling a "release party." We often do them async and keep the team up to date in the Moped Slack channel.
Branch from production
This method is the best way to keep changes not ready for release from releasing to production before QA testing can be performed.
Pull the latest changes into your local
production
branch.Create a branch from
production
and begin making the changes for the patch.Once the changes are ready for review, push to GitHub and create a pull request that will merge your patch branch into
production
.Be sure to increment the patch version number in the
package.json
in your branch. For example,v2.25.0
tov2.25.1
.Request reviews, and, once approved, the patch is ready for release. Coordinate with the Product Manager.
Once the patch is released, the same changes must be moved into
main
branch.Create a branch from
main
and then cherry-pick the commits that you introduced intoproduction
into your branch - including the patch version change.Request reviews, and, once approved, merge the changes into
main
branch.
Last updated