Skip to content

Commit

Permalink
Section 11: A larger set of pre-release is higher
Browse files Browse the repository at this point in the history
Clarifies the comparison between, eg 1.0.0-a vs 1.0.0-a.b
  • Loading branch information
isaacs authored and haacked committed Jun 10, 2013
1 parent 62c2005 commit 9dcea3c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions semver.md
Expand Up @@ -99,8 +99,10 @@ numerically. Pre-release precedence MUST be determined by comparing each dot
separated identifier as follows: identifiers consisting of only digits are
compared numerically and identifiers with letters or hyphens are compared
lexically in ASCII sort order. Numeric identifiers always have lower precedence
than non-numeric identifiers. Example: 1.0.0-alpha < 1.0.0-alpha.1 <
1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0.
than non-numeric identifiers. A larger set of pre-release fields has a
higher precedence than a smaller set, if all of the existing fields are
equal. Example: 1.0.0-alpha < 1.0.0-alpha.beta < 1.0.0-alpha.1 <
1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0.

Why Use Semantic Versioning?
----------------------------
Expand Down

0 comments on commit 9dcea3c

Please sign in to comment.