compareMain

Compares the release portion of two versions.

Return

  • 0 if this == other

  • 1 if this is greater

  • -1 if other is greater.