0
0
mirror of https://github.com/semver/semver.git synced 2025-08-27 16:25:30 +00:00

Make patch/minor version resetting explicit.

This commit is contained in:
Tom Preston-Werner 2011-09-06 23:48:42 -07:00
parent 2f4e9c18ca
commit ec80195ed3

View File

@ -76,11 +76,13 @@ change that fixes incorrect behavior.
1. Minor version Y (x.Y.z | x > 0) MUST be incremented if new, backwards
compatible functionality is introduced to the public API. It MAY be
incremented if substantial new functionality or improvements are introduced
within the private code. It MAY include patch level changes.
within the private code. It MAY include patch level changes. Patch version
MUST be reset to 0 when minor version is incremented.
1. Major version X (X.y.z | X > 0) MUST be incremented if any backwards
incompatible changes are introduced to the public API. It MAY include minor
and patch level changes.
and patch level changes. Patch and minor version MUST be reset to 0 when major
version is incremented.
Tagging Specification (SemVerTag)