main - Correctly apply substitution for HERMES_V1_VERSION_NAME (#55159)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55159

This is a cherry-pick of
https://github.com/facebook/react-native/commit/bdcd17324062cd35337d0ac8d5e4282658e1f89f
which is already on 0.84-stable, on main

Changelog:
[Internal] [Changed] -

Reviewed By: cipolleschi

Differential Revision: D90674701

fbshipit-source-id: b882e4b90e76dfd230658d6e662c091eab4ab8f6
This commit is contained in:
Nicola Corti authored and meta-codesync[bot] committed 2026-01-14 10:53:22 -08:00
1 parent c9c601d61a
commit 8f4e29b920
1 file changed
+1 -1
+1 -1
View File
@@ -118,7 +118,7 @@ if (project.findProperty("react.internal.useHermesStable")?.toString()?.toBoolea
val hermesVersionPropertiesFile =
File("./packages/react-native/sdks/hermes-engine/version.properties")
hermesVersionPropertiesFile.inputStream().use { hermesVersions.load(it) }
val selectedHermesVersion = hermesVersions["HERMES_VERSION_NAME"] as String
val selectedHermesVersion = hermesVersions["HERMES_V1_VERSION_NAME"] as String
hermesSubstitution = selectedHermesVersion to "Users opted to use stable hermes release"
} else if (