make beta and rc non-dev

This commit is contained in:
Milos Kozak 2023-03-10 12:07:20 +01:00
parent 36ca9cd58f
commit 9145f3a96a

View file

@ -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 =