Skip to content

Commit 37676ab

Browse files
authored
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.
1 parent 83409a1 commit 37676ab

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/rollup/build-all-release-channels.js

+12
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,18 @@ function processExperimental(buildDir, version) {
239239
);
240240
}
241241

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+
242254
// Update remaining placeholders with canary channel version
243255
updatePlaceholderReactVersionInCompiledArtifacts(
244256
buildDir,

0 commit comments

Comments
 (0)