Skip to content

Restore RC tag triggers in deploy.yml — RC builds belong in Yoast-dist#295

Merged
enricobattocchi merged 1 commit into
developfrom
fix-deploy-rc-tags
May 26, 2026
Merged

Restore RC tag triggers in deploy.yml — RC builds belong in Yoast-dist#295
enricobattocchi merged 1 commit into
developfrom
fix-deploy-rc-tags

Conversation

@enricobattocchi
Copy link
Copy Markdown
Member

@enricobattocchi enricobattocchi commented May 26, 2026

Summary

This PR can be summarized in the following changelog entry:

  • Fixes Deploy not publishing RC builds to Yoast-dist. Both final releases and RC tags will now trigger Deploy again, matching the established convention.

Relevant technical choices:

PR #283 added '!*-RC*' / '!*-rc*' to deploy.yml's tag-trigger list under the mistaken assumption that the dist repo's main branch should only carry final releases. The dist repo history shows that's not the convention — every prior RC (1.18-RC1 through 1.18-RC7) was already published there as a "Release x.y-RCn" commit on main, alongside the final "Release 1.18".

Result of the bad filter: Deploy silently skipped 1.19-RC2, 1.19-RC3, and 1.19-RC4 tag pushes. (1.19-RC1 slipped through and did deploy, because it points at cdb5d0b — a commit predating the filter merge.)

Remove the filter. From the next RC tag push onwards, Deploy will fire and publish to Yoast-dist@main like it used to.

Targeting develop rather than release/1.19 because there will be no further 1.19 RC; the fix is forward-looking and will be exercised by the next plugin release cycle's RC1.

State of Yoast-dist

Yoast-dist currently has Release 1.19-RC1, Release 1.19, Release 1.18, … Missing: Release 1.19-RC2/RC3/RC4. Not backfilling — the gap is invisible to consumers going forward.

Milestone

  • I've attached the next release's milestone to this pull request.

Test instructions

Test instructions for the acceptance test before the PR gets merged

There's no in-flight RC for this to be validated against — coverage available now:

  • Inspect the deploy.yml diff and confirm the '!*-RC*' / '!*-rc*' exclusions are removed from the tag-trigger list.
  • actionlint / CI passes (workflow file still parses).

First real-world validation happens on the next plugin release cycle's RC1 — its tag push should trigger Deploy and produce a Release <next>-RC1 commit on Yoast-dist/yoast-test-helper@main.

Test instructions for QA when the code is in the RC

  • QA should use the same steps as above.

Fixes #

@enricobattocchi enricobattocchi changed the base branch from develop to release/1.19 May 26, 2026 13:31
PR #283 added `'!*-RC*'` / `'!*-rc*'` to the tag-trigger list under the
mistaken assumption that the dist repo's main branch should only carry
final releases. Looking at the dist history, every prior RC (1.18-RC1
through 1.18-RC7) was already published there as a "Release x.y-RCn"
commit on main — the dist repo is the install target for internal
consumers and is meant to carry RC builds alongside final releases.

The exclusion silently skipped Deploy for 1.19-RC2/RC3/RC4 (the RC1 tag
slipped through because it points at a commit predating the filter), so
Yoast-dist is now stale for those iterations. Remove the filter; from
the next RC tag push onwards, Deploy will fire and publish to
`Yoast-dist@main` as before.

Backfilling RC2/RC3/RC4 in the dist repo would require re-pushing those
tags (or triggering Deploy manually with the right ref), which is a
separate one-time chore — out of scope for this revert.
@enricobattocchi enricobattocchi changed the base branch from release/1.19 to develop May 26, 2026 13:42
@enricobattocchi enricobattocchi added this to the Next release milestone May 26, 2026
@enricobattocchi enricobattocchi merged commit f4c929a into develop May 26, 2026
7 checks passed
@enricobattocchi enricobattocchi deleted the fix-deploy-rc-tags branch May 26, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant