react/scripts/release/prepare-release-from-npm-commands
lauren 1825990c56
[release] Don't lookup build-info.json when updating version numbers (#32778)
From what we can see, `build-info.json` is a vestigal file that we were
previously including in builds but are no longer since 2022 (see
https://github.com/facebook/react/pull/23257, which removes
`build-info.json` which would have broken
scripts/release/build-release-locally-commands/add-build-info-json.js).

Since this file is no longer built, instead of looking it up we default
to the `version` that was passed in as an argument to
scripts/release/prepare-release-from-npm.js. Since `version` is what is
pulled from npm, there should only be 1 consistent version for all the
packages that are pulled. Therefore, only 1 version (eg canary) needs to
be replaced to the new stable version.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32778).
* __->__ #32778
* #32777
2025-03-28 14:35:29 -04:00
..
check-out-packages.js [Release] Follow redirect when downloading tarball (#18845) 2020-05-06 10:28:49 -07:00
confirm-stable-version-numbers.js [ci] Prepare publish workflow (#32488) 2025-02-27 15:24:57 -05:00
get-latest-next-version.js Rename "next" prerelease channel to "canary" (#26761) 2023-05-03 12:10:32 -04:00
guess-stable-version-numbers.js [ci] Prepare publish workflow (#32488) 2025-02-27 15:24:57 -05:00
parse-params.js [release] Also split the onlyPackages param (#32777) 2025-03-28 14:35:18 -04:00
update-stable-version-numbers.js [release] Don't lookup build-info.json when updating version numbers (#32778) 2025-03-28 14:35:29 -04:00