-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
Description
This issue tracks the progress of the a single WooCommerce core plugin release iteration that covers the publishing of a single patch version. Patch version in this context refers to z
in a version following x.y.z
where z
can be any of 0-99
, 0-rc.[0-99]
, or 0-beta.[0-99]
.
Version being released 10.1.0-rc.1
The following details are copied from the official Building and Publishing guide. Please check it to make sure these instructions haven't become out of date.
- Pre-Checks
- **Verify no open Pull Requests or **Issues for the milestone matching the release being published.
- All pull requests tied to the release milestone must be closed, including backported pull requests that may need to be merged into other release branches or trunk.
- Check for unresolved "cherry pick failed" Pull Requests.
- Ensure any such PRs are either expected or manually resolved via another PR.
- Confirm the Stable tag in
readme.txt
matches trunk on WordPress.org.
- The value should match the current stable version, not the version being built.
- Ensure GitHub services are fully operational
- Build WooCommerce
- Run the "Release: Bump version number" workflow.
- Run from
trunk
.- Choose the type of version you're releasing (
beta
,rc
, orstable
).- Enter as Release branch the branch you are about to release from (e.g.
release/10.0
).- Review and merge the PR created.
- Run the “Release: Compile changelog” workflow.
- Run from
trunk
and enter the major version number and the intended release date.- Review and merge the two PRs created (one for trunk, one for the release branch).
- Ensure the changelog date is correct.
- Build the release ZIP file.
- Run the “Release: Build ZIP file” workflow from the release branch.
- Set "Create a draft GitHub release" to
true
.- The workflow will create a draft release tag with an attached
woocommerce.zip
file.
- Publish the Release
Step 1: Upload Release to WordPress.org
- Run the "Release: Upload release to WordPress.org" workflow from
trunk
using the release tag.- This creates a new SVN tag and, if the release is newer than trunk, overwrites trunk.
Step 2: Approve the Release
- Visit WordPress.org plugin releases and approve the release.
- Wait a few minutes for WordPress.org to build the new version.
Step 3: Verify Release Availability
- Confirm the new release appears at:
- https://plugins.svn.wordpress.org/woocommerce/tags/
- The "Previous versions" dropdown on the Advanced Options screen.
- Update the Release Tags
Step 1: Publish GitHub Release Tag
- Action: Publish the previously created GitHub draft release tag.
- When setting release status:
- check "Set as a pre-release."