print the latest version info

This commit is contained in:
creeper123123321 2021-07-31 11:53:12 -03:00
parent d66a31908f
commit e320c10ba7

View File

@ -138,7 +138,7 @@ object AspirinServer {
val latest = Version(latestData.get("tag_name")!!.asString.removePrefix("v"))
val current = Version(cleanedVer)
when {
latest > current -> "This build is outdated."
latest > current -> "This build is outdated. Latest is $latest"
latest < current -> "This build is newer than released."
else -> "VIAaaS seems up to date."
}