Skip to content

Commit 227c9e0

Browse files
authored
[AppDistro] Add Release Candidate (RC) to unstable version keywords (#8054)
The `isUnstable` function in `VersionUtils` now includes "rc" (release candidate) in its list of unstable version keywords. This is a temporary change. Tests are failing due to issues on how to handle RC's, and will be investigated further in the future. For now, not taking them into account gets us to a stable state.
1 parent e163a9b commit 227c9e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • firebase-appdistribution-gradle/src/integrationTest/java/com/google/firebase/appdistribution/gradle

firebase-appdistribution-gradle/src/integrationTest/java/com/google/firebase/appdistribution/gradle/VersionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object VersionUtils {
101101
}
102102

103103
private fun isUnstable(version: String): Boolean {
104-
val unstableKeywords = listOf("alpha", "beta", "milestone", "canary", "m")
104+
val unstableKeywords = listOf("alpha", "beta", "milestone", "canary", "m", "rc")
105105
return unstableKeywords.any { version.contains(it, ignoreCase = true) }
106106
}
107107
}

0 commit comments

Comments
 (0)