mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
6f1b8edc7a
commit
02e53ebc42
+2
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user