Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/assets-update.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/wordpress-org-plugin-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: WordPress.org plugin page
on:
workflow_dispatch:
inputs:
SYNC_README: { type: boolean, default: true, description: 'Sync readme.txt to stable tag and trunk' }
SYNC_ASSETS: { type: boolean, default: true, description: 'Mirror .wordpress-org/ to SVN /assets' }
DRY_RUN: { type: boolean, default: true, description: 'Preview only, commit nothing' }
permissions:
contents: read
concurrency:
group: wordpress-org-svn
cancel-in-progress: false
jobs:
sync:
# Publish only what is merged; a feature branch must not reach the WordPress.org page.
if: github.ref == 'refs/heads/dev/main'
# TODO: re-pin to main once inpsyde/reusable-workflows#296 is merged (pinned to its head for now)
uses: inpsyde/reusable-workflows/.github/workflows/wordpress-org-plugin-page.yml@173fdd99f853345260904cba54400146cd88fbac # PR #296 head as of 2026-10-30
with:
SVN_PLUGIN_SLUG: multisyde
GIT_REF: ${{ github.sha }} # the dispatched ref; never free text
SYNC_README: ${{ inputs.SYNC_README }}
SYNC_ASSETS: ${{ inputs.SYNC_ASSETS }}
DRY_RUN: ${{ inputs.DRY_RUN }}
secrets:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,15 @@ Releases are built and published by the **Release** workflow. Nothing is publish

A failing Plugin Check on the built package stops the release before anything is tagged. `VERSION` must be `MAJOR.MINOR.PATCH`. Every run, including a dry run, tags the built `main` with `VERSION`. A later run reuses that tag only while `dev/main` is unchanged; otherwise delete the tag first.

## WordPress.org plugin page

The readme and the assets in `.wordpress-org/` are not published automatically. To update them between releases:
1. Merge the change to `dev/main`.
2. Run the **WordPress.org plugin page** workflow from `dev/main` with `DRY_RUN` on (the default), and review the SVN changes and the readme diff in the run summary.
3. Run it again with `DRY_RUN` off to publish.

`SYNC_README` and `SYNC_ASSETS` select what gets synced. The readme goes to the `Stable tag` and to trunk, and `.wordpress-org/` is mirrored to SVN `/assets`, so files removed from Git are removed from WordPress.org too.

---

Thanks for helping improve MultiSyde! ❤️
Expand Down
Loading