make beta and rc non-dev
This commit is contained in:
parent
36ca9cd58f
commit
9145f3a96a
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ class ConfigImpl @Inject constructor(
|
||||||
engineeringMode = engineeringModeSemaphore.exists() && engineeringModeSemaphore.isFile
|
engineeringMode = engineeringModeSemaphore.exists() && engineeringModeSemaphore.isFile
|
||||||
unfinishedMode = unfinishedModeSemaphore.exists() && unfinishedModeSemaphore.isFile
|
unfinishedMode = unfinishedModeSemaphore.exists() && unfinishedModeSemaphore.isFile
|
||||||
devBranch = BuildConfig.VERSION.contains("-") || BuildConfig.VERSION.matches(Regex(".*[a-zA-Z]+.*"))
|
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 =
|
override fun isEngineeringModeOrRelease(): Boolean =
|
||||||
|
|
Loading…
Reference in a new issue