Merge pull request #2263 from MilosKozak/rc-warning

Don't warn instantly on RC
This commit is contained in:
Milos Kozak 2019-12-10 22:26:40 +01:00 committed by GitHub
commit a5fe0f6641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,7 +88,7 @@ object VersionCheckerPlugin : PluginBase(PluginDescription()
enum class GracePeriod(val warning: Long, val old: Long, val veryOld: Long) {
RELEASE(30, 60, 90),
RC(0, 7, 14)
RC(1, 7, 14)
}
private fun Long.daysToMillis() = TimeUnit.DAYS.toMillis(this)