mirror of
https://github.com/semver/semver.git
synced 2025-08-24 23:08:35 +00:00
Issue 1004: MAJOR should not be incremented unless backward incompatible changes exist
This commit is contained in:
parent
38a25311c9
commit
6b0757823d
@ -86,9 +86,10 @@ within the private code. It MAY include patch level changes. Patch version
|
|||||||
MUST be reset to 0 when minor version is incremented.
|
MUST be reset to 0 when minor version is incremented.
|
||||||
|
|
||||||
1. Major version X (X.y.z | X > 0) MUST be incremented if any backward
|
1. Major version X (X.y.z | X > 0) MUST be incremented if any backward
|
||||||
incompatible changes are introduced to the public API. It MAY also include minor
|
incompatible changes are introduced to the public API. It SHOULD NOT be
|
||||||
and patch level changes. Patch and minor versions MUST be reset to 0 when major
|
incremented unless backward incompatible changes are introduced to the public
|
||||||
version is incremented.
|
API. It MAY also include minor and patch level changes. Patch and minor versions
|
||||||
|
MUST be reset to 0 when major version is incremented.
|
||||||
|
|
||||||
1. A pre-release version MAY be denoted by appending a hyphen and a
|
1. A pre-release version MAY be denoted by appending a hyphen and a
|
||||||
series of dot separated identifiers immediately following the patch
|
series of dot separated identifiers immediately following the patch
|
||||||
|
Loading…
Reference in New Issue
Block a user