mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
Update packages/kilo-jetbrains/build.gradle.kts
Co-authored-by: kilo-code-bot[bot] <240665456+kilo-code-bot[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
kilo-code-bot[bot]
parent
49ccf6e45b
commit
6cace2a29a
@@ -40,7 +40,7 @@ data class Release(val major: Int, val minor: Int, val patch: Int, val rc: Int?)
|
||||
val text = listOfNotNull("$major.$minor.$patch", rc?.let { "rc.$it" }).joinToString("-")
|
||||
|
||||
override fun compareTo(other: Release): Int {
|
||||
val base = compareValuesBy(this, other, Release::major, Release::minor, Release::patch)
|
||||
val cmp = compareValuesBy(this, other, Release::major, Release::minor, Release::patch)
|
||||
if (base != 0) return base
|
||||
return compareValues(rc ?: Int.MAX_VALUE, other.rc ?: Int.MAX_VALUE)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user