Commit f884ede8b06 for woocommerce
commit f884ede8b0620c9f6ea0b18a5ecd8009a231cb73
Author: Albert Juhé Lluveras <contact@albertjuhe.com>
Date: Tue Nov 24 11:40:03 2026 +0100
Add docs to release Purple (#71359)
* Add docs to release Purple
* Add changelog file
* Add missing links
* Add minor clarifications
* Add changelog file
diff --git a/themes/purple/README.md b/themes/purple/README.md
index 64b1d7753dc..9d0c00ffc91 100644
--- a/themes/purple/README.md
+++ b/themes/purple/README.md
@@ -20,3 +20,48 @@ The shared theme CLI starts WordPress with the experimental Playground runtime b
pnpm --filter=@woocommerce/theme-cli wp-env start purple
```
+## Releases
+
+### Update versions and changelog
+
+Create a pull request including these changes (see [#71001](https://github.com/woocommerce/woocommerce/pull/71001) and [#71051](https://github.com/woocommerce/woocommerce/pull/71051) for an example):
+
+* Move changelog entries to `readme.txt` (keep in mind this will make the changelog CI job fail, you can ignore it).
+* Update WC and WP compatibility versions, we follow a L-1 compatibility policy.
+* Update Purple versions to the version you are releasing.
+
+### Build the ZIP
+
+After those changes are merged into `trunk`, check out `trunk`, pull, and make sure you don't have staged or uncommitted changes. Then, from the repository root, run:
+
+```bash
+pnpm --filter=@woocommerce/theme-purple validate
+pnpm --filter=@woocommerce/theme-purple build
+```
+
+A ZIP will be generated in `themes/purple/artifacts/purple.zip`.
+
+Install that ZIP on a test site with the [Theme Check](https://wordpress.org/plugins/theme-check/) plugin active, go to Appearance > Theme Check and verify all checks pass. Install WooCommerce and smoke test a few screens.
+
+### Tag and push
+
+Create a tag for the Purple release and push it:
+
+```bash
+git tag -a purple-x.y.z -m "purple-x.y.z"
+git push origin purple-x.y.z
+```
+
+### GitHub release
+
+Create a [GitHub release](https://github.com/woocommerce/woocommerce/releases) for the tag, leaving "Set as the latest release" unchecked, and upload `purple.zip` to it.
+
+### WordPress.org release
+
+Upload the same ZIP to [WordPress.org](https://wordpress.org/themes/upload/).
+
+After a few minutes, verify the new version is available in the [Purple page in WordPress.org](https://wordpress.org/themes/purple/).
+
+### Communication
+
+Publish a new post with the changelog and some highlights to the [WooCommerce Product Updates](https://woocommerce.com/product-updates/) page.
diff --git a/themes/purple/changelog/add-purple-release-docs b/themes/purple/changelog/add-purple-release-docs
new file mode 100644
index 00000000000..c0199f6fae2
--- /dev/null
+++ b/themes/purple/changelog/add-purple-release-docs
@@ -0,0 +1,5 @@
+Significance: patch
+Type: dev
+Comment: Add docs to release Purple
+
+
diff --git a/tools/theme-cli/README.md b/tools/theme-cli/README.md
index 86df1087374..b6195f85610 100644
--- a/tools/theme-cli/README.md
+++ b/tools/theme-cli/README.md
@@ -52,7 +52,7 @@ pnpm --filter=@woocommerce/theme-cli build <slug>
The command creates the artifacts directory and moves the ZIP to `themes/<slug>/artifacts/<slug>.zip`. Builds include current working files, including uncommitted changes.
-Theme content checks belong to `validate`; `build` creates the ZIP with wp-scripts. ZIP generation does not publish a release.
+Theme content checks belong to `validate`; `build` creates the ZIP with wp-scripts. ZIP generation does not publish a release. Publishing Purple is documented in [themes/purple/README.md](../../themes/purple/README.md#releases).
## Adding a theme
diff --git a/tools/theme-cli/changelog/add-purple-release-docs b/tools/theme-cli/changelog/add-purple-release-docs
new file mode 100644
index 00000000000..c0199f6fae2
--- /dev/null
+++ b/tools/theme-cli/changelog/add-purple-release-docs
@@ -0,0 +1,5 @@
+Significance: patch
+Type: dev
+Comment: Add docs to release Purple
+
+