Skip to content

Commit

Permalink
Build: use content hash for facebook-react-native build (#27577)
Browse files Browse the repository at this point in the history
Similar to #26734, this switches the RN builds for Meta to a content
hash instead of git commit number to make the builds reproducible and
avoid creating sync commits if the bundled content didn't change.

DiffTrain build for commit 51ffd35.
  • Loading branch information
kassens committed Oct 25, 2023
1 parent 796700a commit c5f2bb8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24887,7 +24887,7 @@ function createFiberRoot(
return root;
}

var ReactVersion = "18.3.0-canary-960ed6ea4-20231024";
var ReactVersion = "18.3.0-canary-51ffd3564-20231025";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9025,7 +9025,7 @@ var devToolsConfig$jscomp$inline_1032 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-960ed6ea4-20231024",
version: "18.3.0-canary-51ffd3564-20231025",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1225 = {
Expand Down Expand Up @@ -9056,7 +9056,7 @@ var internals$jscomp$inline_1225 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-960ed6ea4-20231024"
reconcilerVersion: "18.3.0-canary-51ffd3564-20231025"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1226 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9451,7 +9451,7 @@ var devToolsConfig$jscomp$inline_1074 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-960ed6ea4-20231024",
version: "18.3.0-canary-51ffd3564-20231025",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1266 = {
Expand Down Expand Up @@ -9482,7 +9482,7 @@ var internals$jscomp$inline_1266 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-960ed6ea4-20231024"
reconcilerVersion: "18.3.0-canary-51ffd3564-20231025"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1267 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (
}
"use strict";

var ReactVersion = "18.3.0-canary-960ed6ea4-20231024";
var ReactVersion = "18.3.0-canary-51ffd3564-20231025";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-960ed6ea4-20231024";
exports.version = "18.3.0-canary-51ffd3564-20231025";
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-960ed6ea4-20231024";
exports.version = "18.3.0-react-native-93f67352";

/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
960ed6ea4341b4189a4f6c4edfa6bfe4c712e097
51ffd3564f97b58737df395d30628a27fa71a39d

0 comments on commit c5f2bb8

Please sign in to comment.