Skip to content

Commit e215734

Browse files
fabriziocuccifacebook-github-bot
authored andcommitted
Add release-hermes-for-branch-cut.js script
Summary: 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
1 parent 4a3080b commit e215734

File tree

1 file changed

+464
-0
lines changed

1 file changed

+464
-0
lines changed

0 commit comments

Comments
 (0)