Repository navigation
Guides Deploying To Wordpress Org
This guide covers the end-to-end release process for shipping a new version of DesignSetGo to the WordPress.org plugin directory.
The repo already wires deployment to GitHub Actions — pushing a git tag is what triggers the public release. Everything below is the surrounding work that must be correct before the tag is pushed, plus the verification steps to run after.
- Decide the new version (SemVer):
MAJOR.MINOR.PATCH. - Bump the version in three places: designsetgo.php header, readme.txt
Stable tag, package.json. - Update CHANGELOG.md and the
== Changelog ==section ofreadme.txt. - Run the pre-flight checks (
npm run build, lint, tests). - Commit + merge to
main. - Tag the commit (
git tag x.y.z && git push origin x.y.z). - Watch
Deploy to WordPress.orgrun; verify on .org.
Two workflows in .github/workflows/ handle WP.org delivery:
| Workflow | Trigger | What it does |
|---|---|---|
| deploy.yml | Push of any git tag | Builds the plugin and runs 10up/action-wordpress-plugin-deploy — copies the built plugin to SVN trunk/, copies it to tags/<tag>/, and updates the WP.org Stable tag. |
| deploy-assets.yml | Manual (workflow_dispatch) |
Deploys only assets/ (banners, screenshots, icons), or readme.txt, or pushes code to trunk without a version bump. Has a dry_run toggle. |
Both rely on two repository secrets:
-
SVN_USERNAME— your WordPress.org account -
SVN_PASSWORD— the matching password (or app-password if 2FA is on)
The set of files actually shipped to SVN is filtered by .distignore. If you add new top-level files or directories that should NOT ship (e.g. dev tooling), update .distignore first.
DesignSetGo follows SemVer:
-
PATCH (
2.1.0→2.1.1) — bug fixes, no behaviour changes for users. -
MINOR (
2.1.0→2.2.0) — new blocks/extensions/features, backwards-compatible. -
MAJOR (
2.1.0→3.0.0) — breaking changes (removed blocks, attribute schema changes without deprecations, PHP/WP minimum bumps).
Bumping the WP "Tested up to" or PHP minimum is by itself a MINOR change unless it actually breaks installations.
WordPress.org reads the Stable tag from readme.txt and the Version: header from the main plugin file. They MUST match the git tag.
a. Plugin header — designsetgo.php
* Version: 2.2.0
* Requires at least: 6.7
* Requires PHP: 8.0If you raised the minimum WP or PHP version, bump Requires at least / Requires PHP here too.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 2.2.0
Always re-check Tested up to against the latest WP release before tagging.
"version": "2.2.0"This keeps the npm/plugin-zip artifact in sync with the released version.
Sanity check: the three numbers must be byte-identical. A mismatched
Stable tagis the #1 cause of the .org listing showing the wrong version after deploy.
Two files. They serve different audiences but should agree.
Add a new section above the previous release:
## [2.2.0] - 2026-05-15
### New Blocks
- ...
### New Features
- ...
### Bug Fixes
- ...
### Breaking Changes
- ...WP.org renders this on the plugin page. Keep entries shorter and audience-appropriate:
== Changelog ==
= 2.2.0 =
* New: <user-visible feature>
* Fix: <user-visible bug fix>
* Improvement: <perf/UX tweaks>
Also update == Upgrade Notice == at the bottom of readme.txt if the release has anything users need to know before updating (database migrations, removed blocks, deprecated APIs).
Run from the repo root:
# Clean build
npm ci
npm run build
# Static checks
npm run lint:js
npm run lint:css
npm run lint:php
# Smoke tests
npm run test:e2e:chromiumManual checks:
- Editor loads with no console errors in a fresh
wp-env. - Insert a representative sample of new blocks, save, reload — no "Attempt Recovery" warnings.
- Frontend renders the saved post correctly.
- Spot-check at least one block on the latest stable WP and one on the prior major (currently 6.7).
If you're sensitive to package-size regressions, run npm run build:analyze and compare to the prior release.
WP.org has a strict parser. Use the official validator before tagging:
Paste the contents; it must return "Your readme.txt rocks." Any warning will silently degrade the listing (missing screenshots section, untested headers, etc.).
Common gotchas:
- Headers must use
==(h1) and===(h2) exactly. -
Tags:is capped at 5. -
Stable tagmust be a real, existing tag — nevertrunk.
The deploy workflow keys off the tag, not the branch. Standard flow:
# On a release branch — see CONTRIBUTING.md for branch naming
git checkout -b claude/release-2.2.0
git add designsetgo.php readme.txt package.json CHANGELOG.md
git commit -m "release: 2.2.0"
git push -u origin claude/release-2.2.0
# Open PR, merge to main after reviewAfter the release commit lands on main:
git checkout main
git pull
git tag v2.2.0
git push origin v2.2.0Tag convention: this repo uses
v-prefixed tags (v2.1.0,v2.0.51, …).10up/action-wordpress-plugin-deploystrips the leadingvbefore pushing to SVN, so WordPress.org still gets2.2.0as the SVN tag and that's whatStable taginreadme.txtmust match. SVN tags cannot be silently re-pointed; if you mis-tag, cut a new patch version rather than trying to overwrite.
Open the Actions tab and follow the Deploy to WordPress.org run for the new tag. It does, in order:
actions/checkout@v4-
npm ci+npm run build -
10up/action-wordpress-plugin-deploy@stable— handles SVN checkout, copies the built tree (filtered by.distignore) totrunk/andtags/<tag>/, commits both. - Generates a release ZIP and attaches it to the GitHub release (because
generate-zip: true).
Typical run is 4–7 minutes. The .org listing usually reflects the new version within ~15 minutes of a successful run; CDN caches can lag up to an hour.
If the deploy step fails:
-
E170001/ auth failure →SVN_USERNAME/SVN_PASSWORDare wrong or the .org account isn't a committer on the plugin. -
Stable tagmismatch warning → step 2 wasn't done correctly. Fixreadme.txt, commit, delete the tag, re-tag. -
No assets/readme updated → expected. The main deploy doesn't touch
assets/. Usedeploy-assets.ymlfor that.
- https://wordpress.org/plugins/designsetgo/ shows the new version + changelog.
- Download the ZIP from the .org page and diff against the GitHub release ZIP (they should be identical).
- Install the .org ZIP on a clean WP site, activate, smoke-test one new feature.
- Existing site upgrade path: install the previous version, then upgrade to the new one — confirm no deprecation warnings or "Attempt Recovery" prompts on existing content.
- If the release introduced new screenshots or banners, run deploy-assets.yml manually with
deploy_type: assets(do adry_run: truepass first).
You don't need a new version for these. Run deploy-assets.yml manually:
- Actions → "Deploy Assets to WordPress.org" → Run workflow.
-
deploy_type: assets,dry_run: truefirst to preview. - Re-run with
dry_run: falseonce the diff looks right.
Files come from assets/ in the repo root. Naming follows WP.org conventions: banner-1544x500.png, icon-256x256.png, screenshot-1.png, etc.
Same workflow, deploy_type: readme. Useful for fixing typos, adding tested-up-to bumps, or expanding FAQ entries without cutting a release.
deploy_type: trunk. Pushes the current main build to SVN trunk/ only — does not create a tag and does not change Stable tag. Use sparingly; users on autoupdate get whatever Stable tag points at, not trunk.
WordPress.org does not allow deleting tags. To roll back:
- Cut a NEW patch version (e.g.
2.2.1) that reverts the breaking commits. - Update
Stable taginreadme.txtto the new patch version. - Tag and deploy as normal.
If the bad version is causing active harm, you can also temporarily set Stable tag to the previous good version (e.g. 2.1.0) and run deploy_type: readme — autoupdate will pull users back to that version. Do this only as a stopgap.
[ ] Version bumped in designsetgo.php
[ ] Stable tag bumped in readme.txt
[ ] package.json version bumped
[ ] CHANGELOG.md entry added
[ ] readme.txt Changelog + Upgrade Notice updated
[ ] readme.txt validates on wordpress.org/plugins/developers/readme-validator/
[ ] npm run build clean
[ ] Lint suite green
[ ] E2E smoke green
[ ] Manual editor + frontend smoke on latest WP
[ ] Release commit merged to main
[ ] Tag pushed (bare version, no "v" prefix)
[ ] Deploy workflow green
[ ] .org listing reflects new version
[ ] Upgrade-from-prior-version smoke-tested
- 10up/action-wordpress-plugin-deploy
- 10up/action-wordpress-plugin-asset-update
- WordPress.org readme.txt validator
- Plugin Developer FAQ — How do I tag a release?
- SemVer 2.0.0
Auto-generated from
docs/guides/DEPLOYING-TO-WORDPRESS-ORG.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Advanced Heading
- Blobs
- Breadcrumbs
- Card
- Chart
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Dynamic Image
- Fifty Fifty
- Flip Card
- Form Builder
- Grid
- Hotspot
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Trigger
- Pill
- Product Categories Grid
- Product Showcase Hero
- Progress Bar
- Query
- Query Filter
- Query Group Header
- Query No Results
- Query Pagination
- Query Results
- Row
- Scroll Accordion
- Scroll Marquee
- Scroll Slides
- Section
- Section Divider
- Slider
- Star Rating
- Sticky Sections
- Table Of Contents
- Tabs
- Text Path
- Timeline
- Background Video
- Block Animations
- Clickable Group
- Conditional Visibility
- Custom Css
- Draft Mode
- Dynamic Tags
- Expanding Background
- Grid Mobile Order
- Grid Span
- Hover Effects
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Style Binding
- Svg Patterns
- Text Alignment Inheritance
- Text Reveal
- Abilities Api
- Abilities Api Guide
- Block Bindings
- Draft Mode Api
- Form Webhooks
- Generation Contract
- Interactive Blocks
- Layout Flexibility
- Markdown Content Negotiation
- Rest Api Reference
- Wp Cli Reference
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Deploying To Wordpress Org
- Design System
- 2026 04 16 Blocks Editor Ux Design
- 2026 04 17 Theme 3 Inspector Ia
- 2026 04 21 Query Block Onboarding
- 2026 04 21 Query Capable Layout Blocks Design
- 2026 04 27 Block Roadmap Ideas
- 2026 07 01 Shape Divider Theme Inheritance
- 2026 07 02 Icon Block Dynamic Render Pilot
- 2026 07 06 Section Divider Block Design
- 2026 07 06 Section Style Variations Fse Design
- 2026 07 06 Section Styles Editor Preview
- 2026 07 07 Row Grid Overlay Hover Parity Design
- 2026 07 21 Conditional And Dup Label Sourcing
- 2026 07 23 Theme Block Type Animation Defaults
- 2026 08 16 Chart Block
- 2026 08 16 Greenshift Gap Roadmap
- 2026 08 17 Woocommerce Surface
- 2026 08 24 Loop Carousel
- 2026 08 24 Star Rating Block
- 2026 09 17 Abilities Drift Prevention
- 2026 09 17 Abilities Drift Prevention Implementation
- 2026 09 29 Existing User Regression Fixes
- 2026 09 29 Release Preflight Fixes
- Readme
- 2026 07 02 Block Authorability Audit
- 2026 09 29 Regression Fixes
- 2026 09 29 Release 2.9.0
- 2026 09 29 Release Fixes
- 2026 10 19 Bug Hunt
- 2026 10 20 Bug Hunt Round 2