diff --git a/scripts/rollup/build-all-release-channels.js b/scripts/rollup/build-all-release-channels.js index fed1bb8c460ca..a365faa7e9323 100644 --- a/scripts/rollup/build-all-release-channels.js +++ b/scripts/rollup/build-all-release-channels.js @@ -239,6 +239,18 @@ function processExperimental(buildDir, version) { ); } + [ + buildDir + '/react-native/implementations/', + buildDir + '/facebook-react-native/', + ].forEach(reactNativeBuildDir => { + if (fs.existsSync(reactNativeBuildDir)) { + updatePlaceholderReactVersionInCompiledArtifacts( + reactNativeBuildDir, + ReactVersion + '-' + canaryChannelLabel + '-%FILEHASH%' + ); + } + }); + // Update remaining placeholders with canary channel version updatePlaceholderReactVersionInCompiledArtifacts( buildDir,