Skip to content

Commit

Permalink
Fix Nightlies
Browse files Browse the repository at this point in the history
Summary:
## Changelog:
[Internal] - Fix Nighlties that were broken due to changes for double publishing

Reviewed By: cortinico

Differential Revision: D50225219

fbshipit-source-id: dd1b96a956bb282caa40bd6f99b9a82554958746
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Oct 12, 2023
1 parent 6f1b8ed commit 02e53eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 02e53eb

Please sign in to comment.