mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +01:00
print the latest version info
This commit is contained in:
parent
d66a31908f
commit
e320c10ba7
@ -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."
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user