0
0
mirror of https://github.com/semver/semver.git synced 2025-08-25 07:15:30 +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
separated identifiers immediately following the patch or pre-release version.
Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-].
Build metadata SHOULD be ignored when determining version precedence. Thus two
packages with the same version, but different build metadata are considered to
be the same version. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700,
Identifiers MUST NOT be empty. Build metadata SHOULD be ignored when determining
version precedence. Thus two versions that differ only in the build metadata,
have the same precedence. Examples: 1.0.0-alpha+001, 1.0.0+20130313144700,
1.0.0-beta+exp.sha.5114f85.
1. Precedence refers to how versions are compared to each other when ordered.