From dcec27f8366a5ddf6441336caddd5b6c122ec1ba Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Thu, 17 Nov 2011 02:06:28 -0800 Subject: [PATCH] Version integers must be non-negative. Closes mojombo/semver.org#47. --- semver.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/semver.md b/semver.md index 3ba80a1..aa92df6 100644 --- a/semver.md +++ b/semver.md @@ -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. 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 -version. Each element MUST increase numerically by increments of one. For -instance: 1.9.0 -> 1.10.0 -> 1.11.0. +non-negative integers. X is the major version, Y is the minor version, and Z +is the patch version. Each element MUST increase numerically by increments of +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 version MUST be reset to zero. When a minor version number is incremented, the