Every project has a version number associated with it.
Project version format looks like below.
<majorVersion>.<minorVersion>.<incrementalVersion>-<qualifier>
<qualifier> is used to specify milestone builds
like alpha and beta releases
Example 1
19.5.1-alpha-01
majorVersion : 19
minorVersion : 5
incrementalVersion : 1
qualifier : alpha-01
Example 2
19.5-beta-05
majorVersion : 19
minorVersion : 5
qualifier : beta-05
Version ’10.4.1’ is greater than ’10.3.20’. When all the
version numbers are in integers, then comparison made using integers of the
major, minor and incremental versions.
If version number contains non-numerals too, then string
comparison is used to compare versions. For example, ‘1.2.5b’ and ‘1.3.4a’ are
compared using string companions.
No comments:
Post a Comment