mirror of
https://github.com/semver/semver.git
synced 2025-08-25 15:25:29 +00:00
Version integers must be non-negative. Closes mojombo/semver.org#47.
This commit is contained in:
parent
52c9b2b3a6
commit
dcec27f836
@ -43,9 +43,9 @@ could be declared in the code itself or exist strictly in documentation.
|
|||||||
However it is done, it should be precise and comprehensive.
|
However it is done, it should be precise and comprehensive.
|
||||||
|
|
||||||
1. A normal version number MUST take the form X.Y.Z where X, Y, and Z are
|
1. A normal version number MUST take the form X.Y.Z where X, Y, and Z are
|
||||||
integers. X is the major version, Y is the minor version, and Z is the patch
|
non-negative integers. X is the major version, Y is the minor version, and Z
|
||||||
version. Each element MUST increase numerically by increments of one. For
|
is the patch version. Each element MUST increase numerically by increments of
|
||||||
instance: 1.9.0 -> 1.10.0 -> 1.11.0.
|
one. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.
|
||||||
|
|
||||||
1. When a major version number is incremented, the minor version and patch
|
1. When a major version number is incremented, the minor version and patch
|
||||||
version MUST be reset to zero. When a minor version number is incremented, the
|
version MUST be reset to zero. When a minor version number is incremented, the
|
||||||
|
Loading…
Reference in New Issue
Block a user