Add cherry-pick script and update release tools in package.json#78560
Conversation
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
cc: @manzoorwanijk |
There was a problem hiding this comment.
Pull request overview
This PR migrates the cherry-pick automation script from the root bin/ tooling into the @wordpress/release-tools workspace, and updates root-level scripts/config to reference the workspace version as part of the ongoing tooling/workspace re-organization.
Changes:
- Add a
cherry-pickscript entry totools/release/package.jsonand introducetools/release/cherry-pick.mjs. - Update the root
package.jsonscript to invoke the cherry-pick command via the@wordpress/release-toolsworkspace. - Remove the old cherry-pick entry from
bin/tsconfig.json.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tools/release/package.json | Exposes the migrated cherry-pick script via the @wordpress/release-tools workspace scripts. |
| tools/release/cherry-pick.mjs | Adds the cherry-pick implementation under the release tools workspace. |
| package.json | Updates the root script to run cherry-pick via the workspace. |
| bin/tsconfig.json | Removes the cherry-pick script from the bin TypeScript config include list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Do you think we can now remove |
I think we can safely remove |
Let us do that. |
manzoorwanijk
left a comment
There was a problem hiding this comment.
This looks good. Thank you.
What?
Part of #75041
Migrate cherry pick file from bin to release-tool workspace package.
Why?
Part of organization of all toolings and this file is supposed to be a follow up phase after the release-tools is merged.
How?
Migrates the file and the update all its references elsewhere to the new location.
Use of AI Tools
None