0
0
mirror of https://github.com/semver/semver.git synced 2025-08-25 15:25:29 +00:00

Merge pull request #109 from mojombo/build-metadata-clarification

Build metadata clarification
This commit is contained in:
Phil Haack 2013-06-10 16:49:53 -07:00
commit 3054e890a0

View File

@ -88,9 +88,9 @@ normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7,
1. Build metadata MAY be denoted by appending a plus sign and a series of dot 1. Build metadata MAY be denoted by appending a plus sign and a series of dot
separated identifiers immediately following the patch or pre-release version. separated identifiers immediately following the patch or pre-release version.
Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]. Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-].
Build metadata SHOULD be ignored when determining version precedence. Thus two Identifiers MUST NOT be empty. Build metadata SHOULD be ignored when determining
packages with the same version, but different build metadata are considered to version precedence. Thus two versions that differ only in the build metadata,
be the same version. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700, have the same precedence. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700,
1.0.0-beta+exp.sha.5114f85. 1.0.0-beta+exp.sha.5114f85.
1. Precedence refers to how versions are compared to each other when ordered. 1. Precedence refers to how versions are compared to each other when ordered.