Skip to content

Fix release pipeline and bump to 1.5.1 - #15

Merged
soderlind merged 1 commit into
mainfrom
fix/release-pipeline
Aug 5, 2026
Merged

Fix release pipeline and bump to 1.5.1#15
soderlind merged 1 commit into
mainfrom
fix/release-pipeline

Conversation

@soderlind

Copy link
Copy Markdown
Owner

Why

Every release since 1.3.1 produced one failed Release workflow run. create-release.yml publishes a GitHub release, which both publishes the release and pushes its tag. release.yml listened to both events, so two jobs ran concurrently and raced the WordPress.org SVN svn cp … tags/<version> — the loser died with E160024: Conflict. The 1.5.0 deploy still succeeded (winning twin), but the red X was misleading.

Separately, the "Build plugin zip" step wrote dist/ (a full nested copy) and cache-tags-for-cloudflare.zip into the checkout root, and .distignore didn't exclude them, so the 10up deploy swept both into trunk and tags/1.5.0.

Changes

  • release.yml — trigger only on release: [published]; drop the duplicate push: tags trigger so a single deploy runs per release.
  • .distignore — exclude /dist and /cache-tags-for-cloudflare.zip so build artifacts stop shipping to users and the wp.org SVN.
  • Bump to 1.5.1 (plugin header, VERSION, readme.txt, package.json) with changelog entries.

Verification

  • composer run check — phpcs + phpstan clean, phpunit 44 tests / 58 assertions
  • npm run test:js — 14 tests
  • npm run lint:js — clean
  • npm run build — output unchanged (no functional plugin code touched)

- release.yml: trigger only on published release, not tag push, to stop the
  duplicate concurrent run that raced and failed the WordPress.org SVN tag commit
- .distignore: exclude dist/ and the generated zip so build artifacts stop
  leaking into the distributed plugin and the wp.org SVN
- Bump version to 1.5.1 across plugin header, VERSION, readme.txt, package.json
- Add 1.5.1 changelog entries
@soderlind
soderlind merged commit 26fc93d into main Aug 5, 2026
2 checks passed
@soderlind
soderlind deleted the fix/release-pipeline branch August 5, 2026 09:13
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