Skip to content

ci: fix wp.org deploy workflow (wp-cli missing, no manual re-run path)#10

Merged
courtneyr-dev merged 1 commit into
mainfrom
fix/deploy-wporg-wpcli
Jul 3, 2026
Merged

ci: fix wp.org deploy workflow (wp-cli missing, no manual re-run path)#10
courtneyr-dev merged 1 commit into
mainfrom
fix/deploy-wporg-wpcli

Conversation

@courtneyr-dev

Copy link
Copy Markdown
Owner

The v2.3.0 publish was the first real run of deploy-wporg.yml and it failed before reaching SVN: the runner has no wp-cli for composer i18n. Fixes that, adds a workflow_dispatch re-run path (release events pin the workflow to the tagged commit, so the fix can't apply to the existing v2.3.0 tag without one), normalizes the version (strips leading v to match the Stable tag), and guards the asset upload to release events.

After merge, deploying v2.3.0 requires the SVN_USERNAME / SVN_PASSWORD secrets (not set on this repo) and then dispatching the workflow with version 2.3.0.

🤖 Generated with Claude Code

…e version

First real run of deploy-wporg.yml (v2.3.0 publish) failed at
"Generate translation files": composer i18n shells out to wp-cli,
which the runner doesn't have. Add it via setup-php tools.

Also:
- workflow_dispatch with a version input: release events pin the
  workflow file to the tagged commit, so a fixed workflow can never
  re-serve an already-published tag without a manual path.
- Strip a leading "v" from the release tag so the SVN tag matches
  readme.txt's Stable tag (2.3.0, not v2.3.0).
- Guard the release-asset upload to release events.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@courtneyr-dev courtneyr-dev enabled auto-merge (squash) July 3, 2026 16:10
@courtneyr-dev courtneyr-dev merged commit 92d0669 into main Jul 3, 2026
13 checks passed
@courtneyr-dev courtneyr-dev deleted the fix/deploy-wporg-wpcli branch July 3, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant