Back to Woocommerce

[{release_main_version}] Release `{release_version}`

.linear/release-kickoff-patch.md

10.8.0-dev4.9 KB
Original Source

[{release_main_version}] Release {release_version}

These are the instructions for releasing {release_version}, scheduled for {release_date}.


Perform all the steps below in order. When running any GitHub workflow, ensure you do it from the trunk branch (the default) and input the release version or branch as indicated.

Keep the Release Troubleshooting & Recovery guide handy, in case you encounter any issues.


1. Pre-build checks

2. Build the release package

  • Run workflow Release: Bump version number: enter {release_main_version} as Release branch and stable as Type of version bump to perform.
  • Review and merge the PR that was generated against the release branch. Check the {release_milestone} milestone.
  • Run workflow Release: Compile changelog: enter {release_main_version} as Version and leave Release date empty, except when building the package ahead of schedule.
  • Review and merge the PRs that were generated: one against trunk and another one against the release branch. Both are linked in the workflow run.
  • Run workflow Release: Build ZIP file to build the asset and create the GitHub release: enter {release_main_version} as Release branch and check Create GitHub release.
  • Confirm that a draft {release_version} release was created in the repository with an attached woocommerce.zip asset.

3. Upload the release to WordPress.org

4. Deploy to the staging environment

  • Follow the guide to deploy to the staging environment and monitor for at least {release_monitoring_time} hours after deploy.
  • Create a thread in the releases Slack channel for monitoring and discussion of this release.

If a critical issue was detected while monitoring...

  • Request a revert in the staging environment.
  • Pause the release process and do not continue with any steps on this issue. Follow the procedure in the troubleshooting guide instead.

5. Publish the release

  • Run workflow Release: Update stable tag: enter {release_version} as Version and make sure to check off the confirmation box.
  • Publish the {release_version} release draft that was previously created, as well as any other {release_main_version} drafts that might exist from previous attempts. Ensure that "Set as the latest release" is checked for {release_version}.

6. Post-release tasks