dillon1000/react

Commit

[DevTools] Add --replaceBuild option to Older React Builds Download Script (#24621)

This PR adds a `--replaceBuild` option to the script that downloads older React version builds. If this flag is true, we will replace the contents of the `build` folder with the contents of the `build-regression` folder and remove the `build-regression` folder after, which was the original behavior.

However, for e2e tests, we need both the original build (for DevTools) and the new build (for the React Apps), so we need both the `build` and the `build-regression` folders. Not adding the `--replaceBuild` option will do this.

This PR also modifies the circle CI config to reflect this change.
Browse files
Changed paths2 files
First-parent comparison
M .circleci/config.yml ModifiedM scripts/circleci/download_devtools_regression_build.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…