Companion
object Companion
Functions
Link copied to clipboard
fun compareSemantics(currentVersion: String, newVersion: String, comparison: Comparison = Comparison.NEW): Boolean
Compare the given new version against the given current version, depending on comparison type EQUAL
, NEW
, or EQUAL_OR_NEW
. Checks are performed with the semantic release-formatting, e.g. 1.2.3, 2.3.4, 6.6.6
Link copied to clipboard
Check a list of versions following the semantic-scheme and find the latest one.
Link copied to clipboard
Check a list of versions following the semantic-scheme and find the oldest one.