Skip to content

Add cherry-pick script and update release tools in package.json#78560

Merged
manzoorwanijk merged 5 commits into
WordPress:trunkfrom
kushagra-goyal-14:try/migrate-cherry-pick-to-releases
May 22, 2026
Merged

Add cherry-pick script and update release tools in package.json#78560
manzoorwanijk merged 5 commits into
WordPress:trunkfrom
kushagra-goyal-14:try/migrate-cherry-pick-to-releases

Conversation

@kushagra-goyal-14
Copy link
Copy Markdown
Contributor

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

@kushagra-goyal-14 kushagra-goyal-14 marked this pull request as ready for review May 22, 2026 10:31
@github-actions
Copy link
Copy Markdown

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.

  • Required label: Any label starting with [Type].
  • Labels found: .

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.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2026

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: kushagra-goyal-14 <[email protected]>
Co-authored-by: manzoorwanijk <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@kushagra-goyal-14
Copy link
Copy Markdown
Contributor Author

cc: @manzoorwanijk

@manzoorwanijk manzoorwanijk added the [Type] Build Tooling Issues or PRs related to build tooling label May 22, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-pick script entry to tools/release/package.json and introduce tools/release/cherry-pick.mjs.
  • Update the root package.json script to invoke the cherry-pick command via the @wordpress/release-tools workspace.
  • 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.

@manzoorwanijk
Copy link
Copy Markdown
Member

Do you think we can now remove node-fetch or any other dependency from root package.json?

@kushagra-goyal-14
Copy link
Copy Markdown
Contributor Author

Do you think we can now remove node-fetch or any other dependency from root package.json?

I think we can safely remove node-fetch & @octokit/rest now from the root package.json

@manzoorwanijk
Copy link
Copy Markdown
Member

I think we can safely remove node-fetch & @octokit/rest now from the root package.json

Let us do that.

Copy link
Copy Markdown
Member

@manzoorwanijk manzoorwanijk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thank you.

@manzoorwanijk manzoorwanijk merged commit 9908dd1 into WordPress:trunk May 22, 2026
40 checks passed
@github-actions github-actions Bot added this to the Gutenberg 23.3 milestone May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Build Tooling Issues or PRs related to build tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants