Also apply content hash for experimental files (#28590)
Also apply content hash for experimental files In #28582 I missed that experimental files have a copy of this build function setting the version strings.
Jan Kassens committed
Mar 19, 2024 at 17:50 UTC
37676aba76a9b97e1059e6dec39c3f401f44248d
1 file changed
+12
scripts/rollup/build-all-release-channels.js
+12
@@ -239,6 +239,18 @@ function processExperimental(buildDir, version) {
239
);
240
}
241
242
+ [
243
+ buildDir + '/react-native/implementations/',
244
+ buildDir + '/facebook-react-native/',
245
+ ].forEach(reactNativeBuildDir => {
246
+ if (fs.existsSync(reactNativeBuildDir)) {
247
+ updatePlaceholderReactVersionInCompiledArtifacts(
248
+ reactNativeBuildDir,
249
+ ReactVersion + '-' + canaryChannelLabel + '-%FILEHASH%'
250
+ );
251
+ }
252
+ });
253
+
254
// Update remaining placeholders with canary channel version
255
updatePlaceholderReactVersionInCompiledArtifacts(
256
buildDir,