Skip to content

Commit

Permalink
Fix test-build-devtools if build was generated by build-for-devtools (#…
Browse files Browse the repository at this point in the history
…24088)

Co-authored-by: Brian Vaughn <[email protected]>
  • Loading branch information
eps1lon and bvaughn authored Mar 23, 2022
1 parent de516ca commit 3f89908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"test-prod-build": "yarn test --deprecated 'yarn test --prod --build'",
"test-build": "yarn test --deprecated 'yarn test --build'",
"test-build-prod": "yarn test --deprecated 'yarn test --build --prod'",
"test-build-devtools": "yarn test --build --project devtools",
"test-build-devtools": "node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental",
"debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'",
"test-dom-fixture": "cd fixtures/dom && yarn && yarn prestart && yarn test",
"flow": "node ./scripts/tasks/flow.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/shared/ReactVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

// TODO: this is special because it gets imported during build.
//
// TODO: 17.0.3 has not been released to NPM;
// TODO: 18.0.0 has not been released to NPM;
// It exists as a placeholder so that DevTools can support work tag changes between releases.
// When we next publish a release (either 17.0.3 or 17.1.0), update the matching TODO in backend/renderer.js
// When we next publish a release, update the matching TODO in backend/renderer.js
// TODO: This module is used both by the release scripts and to expose a version
// at runtime. We should instead inject the version number as part of the build
// process, and use the ReactVersions.js module as the single source of truth.
export default '17.0.3';
export default '18.0.0';

0 comments on commit 3f89908

Please sign in to comment.