mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56753 The functions getLatestHermesNightlyVersion() and updateHermesVersionsToNightly() were misleadingly named: they actually fetch from the 'latest-v1' npm dist-tag, not a 'nightly' tag. Rename them to better reflect what they do: - getLatestHermesNightlyVersion -> getLatestHermesVersion - updateHermesVersionsToNightly -> updateHermesVersionsToPrebuilt Update all call sites in publish-npm.js and publish-npm-test.js. ## Changelog: [Internal] - Reviewed By: cortinico Differential Revision: D104649629 fbshipit-source-id: b1d60b9bb48ef51946e99877a73d5760db585a4c
scripts/releases-ci
CI-only release scripts — intended to run from a CI workflow (GitHub Actions).
Commands
For information on command arguments, run node <command> --help.
prepare-package-for-release
Prepares files within the react-native package and template for the target release version. Writes a new commit and tag, which will trigger publish-npm.js in a new workflow.
publish-npm
Prepares release artifacts and publishes the react-native package to npm.
publish-updated-packages
Publishes all updated packages (excluding react-native) to npm. Triggered when a commit on a release branch contains #publish-packages-to-npm.