Add release-hermes-for-branch-cut.js script#55903
Closed
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
Closed
Add release-hermes-for-branch-cut.js script#55903fabriziocucci wants to merge 1 commit intofacebook:mainfrom
fabriziocucci wants to merge 1 commit intofacebook:mainfrom
Conversation
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
|
@fabriziocucci has exported this pull request. If you are a Meta employee, you can view the originating Diff in D95195362. |
|
This pull request has been merged in 6918b70. |
Collaborator
|
This pull request was successfully merged by @fabriziocucci in 6918b70 When will my fix make it into a release? | How to file a pick request? |
zoontek
pushed a commit
to zoontek/react-native
that referenced
this pull request
Mar 9, 2026
Summary: Pull Request resolved: facebook#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Changelog: [Internal]
This script automates the full Hermes release workflow during React Native branch cuts. It handles:
Features:
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