Skip to content

[Hermes][JS] Consolidate Hermes version files and simplify JS release scripts#56703

Draft
cipolleschi wants to merge 1 commit intocipolleschi/remove-legacy-hermes-phase3from
cipolleschi/remove-legacy-hermes-phase4
Draft

[Hermes][JS] Consolidate Hermes version files and simplify JS release scripts#56703
cipolleschi wants to merge 1 commit intocipolleschi/remove-legacy-hermes-phase3from
cipolleschi/remove-legacy-hermes-phase4

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

@cipolleschi cipolleschi commented May 6, 2026

Summary

  • Remove sdks/.hermesv1version from package.json files array — only .hermesversion remains
  • Simplify hermes-utils.js: remove readHermesV1Tag(), HERMES_V1_TAG_FILE_PATH; setHermesTag() takes single argument
  • Simplify scripts/releases/utils/hermes-utils.js: single version in getLatestHermesNightlyVersion() and updateHermesRuntimeDependenciesVersions()
  • Simplify bump-hermes-version.js: remove --v1-tag and --hermes-v1-version CLI options
  • Simplify release-hermes-for-branch-cut.js: remove legacy branch/workflow/PR logic, keep only single Hermes branch

Changelog:

[General][Changed] - Simplified build JS Hermes infrastructure for the Release

Test plan

  • JS tests: yarn jest --no-watchman hermes-utils-test.js — 5/5 tests pass

Remove dual .hermesversion/.hermesv1version tag files — only
.hermesversion remains. Simplify hermes-utils.js to single-tag
operations, release scripts to single-version workflows, and
bump-hermes-version.js to single Hermes. Remove legacy branch
handling from release-hermes-for-branch-cut.js.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 6, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels May 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

Caution

Invalid Base Branch

The base branch for this PR is cipolleschi/remove-legacy-hermes-phase3, which is not main or a -stable branch.
Are you sure you want to target this branch?

@cipolleschi cipolleschi changed the title Consolidate Hermes version files and simplify JS release scripts [Hermes][JS] Consolidate Hermes version files and simplify JS release scripts May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant