Skip to content

Commit 6918b70

Browse files
fabriziocuccimeta-codesync[bot]
authored andcommitted
Add release-hermes-for-branch-cut.js script (#55903)
Summary: Pull Request resolved: #55903 Changelog: [Internal] This script automates the full Hermes release workflow during React Native branch cuts. It handles: 1. Validating the environment (must be on a stable branch, no uncommitted changes) 2. Cloning/setting up the Hermes repo at ~/git/hermes if needed 3. Fetching Hermes versions from main and 250829098.0.0-stable branches 4. Creating a release branch (release-v{version}) in Hermes 5. Triggering GitHub Actions workflows to build Hermes 6. Updating RN repo with Hermes versions (.hermesversion, .hermesv1version, version.properties, package.json dependencies) 7. Creating PRs to bump Hermes versions for the next release 8. Creating a PR to bump HERMES_V1_VERSION_NAME on RN main Features: - Interactive prompts for confirmation at key steps - --dry-run flag to preview all actions without making changes - Clear output with emoji indicators for each step - Reminder not to push RN release branch until workflows complete Usage: ./packages/react-native/scripts/hermes/release-hermes-for-branch-cut.js ./packages/react-native/scripts/hermes/release-hermes-for-branch-cut.js --dry-run Reviewed By: cipolleschi Differential Revision: D95195362 fbshipit-source-id: 6008c5fd9abaf0c7b49abc7b2cc56cfc358507ce
1 parent 4f38bed commit 6918b70

1 file changed

Lines changed: 464 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)