Repository navigation
Conversation
5869c8b to
95e8ea3
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
- Accept rtcamp/<package>@<version> tags and split only that package - Validate the subtree and composer.json package name - Preserve v<version> tags in mirrors for Packagist
95e8ea3 to
4832e6a
Compare
- Shorten the release-php.yml header to what the tag does and how to add a package - Drop comments that repeat the code or the split step's own notes - State the tag rule in AGENTS.md as current behaviour - Restore the PushTagReleaseWorker comment
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
What this PR does
Releases each Composer package on its own tag, so wp-phpstan can go to 2.0.0 without wp-phpcs getting an empty 2.0.0. Until now any
v*tag split and tagged both mirrors at the same version.Closes
N/A
Changes
release-php.ymltriggers onrtcamp/<package>@<version>tags (for examplertcamp/wp-phpstan@2.0.0). It splits only that package and tags its mirrorv<version>, so Packagist sees the same tag format as before. The other mirror is not touched.splitsh.jsonsubtree and the package'scomposer.jsonname, or the run fails before pushing anything. A barev*tag no longer triggers a release.workflow_dispatchtakes the same tag form intest_tag(defaultrtcamp/wp-phpstan@0.0.0-test), so a smoke test orresync_branchrun acts on one mirror.AGENTS.md, thesplit-npm-packages.ymlheader and themonorepo-builder.phpcomment now describe per-package tags.How I verified
actionlintpasses on every workflow, including ci(npm): publish workspaces to npm from main with trusted publishing #71'spublish-npm-packages.yml.splitsh.json:Reviewer notes
v1.0.0/task/npm-publish). Merge ci(npm): publish workspaces to npm from main with trusted publishing #71 first; this PR then retargets tomain.rtcamp/<package>@<version>form.monorepo-builder releaseis lockstep by design and was not used for v1.0.0 or v1.0.1 (both were hand-made tags).