docs/contribution/releases/building-and-publishing.md
:::important
While this guide can be used as reference, keep in mind that version-specific instructions are provided in the release tracking issues created ahead of the release cycle, and should be preferred.
:::
This page provides an overview of the steps required to build any WooCommerce release from the release branch. Review the flowchart to understand the overall process and the decision table. Step-by-step instructions are provided below.
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.
Stable tag value in the readme.txt on the release branch matches the one on WordPress.org's trunk.x.y) as Release branch and choose the release type from the dropdown.x.y) as Version and leave Release date empty, except when building the package ahead of schedule.trunk and another one against the release branch. Both should be under the release milestone.x.y) as Release branch and check Create GitHub release.woocommerce.zip asset.x.y.z) as Release tag to upload and make sure to check off the confirmation box.WordPress.org "WooCommerce" user account secret in the secret store and approve the release.:::caution
This step only applies to rc or stable (x.y.0 onwards) releases.
:::
x.y.z) as Version and make sure to check off the confirmation box.:::caution
This step only applies to stable (x.y.0 onwards) releases.
:::