Fix Nightlies

Summary:
## Changelog:
[Internal] - Fix Nighlties that were broken due to changes for double publishing

Reviewed By: cortinico

Differential Revision: D50225219

fbshipit-source-id: dd1b96a956bb282caa40bd6f99b9a82554958746
This commit is contained in:
Riccardo Cipolleschi
2023-10-12 07:22:23 -07:00
committed by Facebook GitHub Bot
parent 6f1b8edc7a
commit 02e53ebc42
+2 -2
View File
@@ -20,8 +20,8 @@ File("$rootDir/packages/react-native/ReactAndroid/gradle.properties").inputStrea
}
version =
if (project.hasProperty("isNightly") &&
(project.property("isNightly") as? String).toBoolean()) {
if (project.hasProperty("isSnapshot") &&
(project.property("isSnapshot") as? String).toBoolean()) {
"${reactAndroidProperties.getProperty("VERSION_NAME")}-SNAPSHOT"
} else {
reactAndroidProperties.getProperty("VERSION_NAME")