File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ async function getLatestHermesNightlyVersion() /*: Promise<{
4343
4444 return {
4545 compilerVersion,
46+ compilerV1Version,
4647 // runtime version should match the compiler version
4748 runtimeVersion : compilerVersion ,
4849 runtimeV1Version : compilerV1Version ,
@@ -84,7 +85,7 @@ async function updateHermesRuntimeDependenciesVersions(
8485async function updateHermesVersionsToNightly ( ) {
8586 const hermesVersions = await getLatestHermesNightlyVersion ( ) ;
8687 await updateHermesCompilerVersionInDependencies (
87- hermesVersions . compilerVersion ,
88+ hermesVersions . compilerV1Version ,
8889 ) ;
8990 await updateHermesRuntimeDependenciesVersions (
9091 hermesVersions . runtimeVersion ,
Original file line number Diff line number Diff line change @@ -17,9 +17,7 @@ function main() {
1717
1818 if ( hermesCompilerVersion === '0.0.0' ) {
1919 console . log ( `Hermes compiler version not set. Updating to the latest nightly release.` ) ;
20- // We are not publishing a nightly version of hermes-compiler for v1,
21- // so we need to manually set the version to the latest nightly release.
22- execSync ( 'yarn workspace react-native add hermes-compiler@latest-v1 --exact' , { stdio : 'inherit' } ) ;
20+ execSync ( 'yarn workspace react-native add hermes-compiler@nightly --exact' , { stdio : 'inherit' } ) ;
2321 } else {
2422 console . log ( `Hermes compiler version set to ${ hermesCompilerVersion } . Not setting nightly hermes.` ) ;
2523 }
You can’t perform that action at this time.
0 commit comments