make beta and rc non-dev
This commit is contained in:
parent
36ca9cd58f
commit
9145f3a96a
|
@ -44,6 +44,8 @@ class ConfigImpl @Inject constructor(
|
|||
engineeringMode = engineeringModeSemaphore.exists() && engineeringModeSemaphore.isFile
|
||||
unfinishedMode = unfinishedModeSemaphore.exists() && unfinishedModeSemaphore.isFile
|
||||
devBranch = BuildConfig.VERSION.contains("-") || BuildConfig.VERSION.matches(Regex(".*[a-zA-Z]+.*"))
|
||||
if (BuildConfig.VERSION.contains("-beta") || BuildConfig.VERSION.contains("-rc"))
|
||||
devBranch = false
|
||||
}
|
||||
|
||||
override fun isEngineeringModeOrRelease(): Boolean =
|
||||
|
|
Loading…
Reference in a new issue