mirror of
https://github.com/semver/semver.git
synced 2025-08-22 13:58:33 +00:00
Merge 19e0e0ae37
into d58db16863
This commit is contained in:
commit
8572430058
14
semver.md
14
semver.md
@ -90,9 +90,11 @@ incompatible changes are introduced to the public 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
|
||||
series of dot separated identifiers immediately following the patch
|
||||
version. Identifiers MUST comprise only ASCII alphanumerics and hyphens
|
||||
1. A pre-release version MAY be denoted by appending a hyphen followed
|
||||
by one or more identifiers. The hyphen immediately follows the patch
|
||||
version and is followed by the first identifier. If multiple identifiers
|
||||
are used, they are separated with dots.
|
||||
Identifiers MUST comprise only ASCII alphanumerics and hyphens
|
||||
[0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST
|
||||
NOT include leading zeroes. Pre-release versions have a lower
|
||||
precedence than the associated normal version. A pre-release version
|
||||
@ -101,8 +103,10 @@ intended compatibility requirements as denoted by its associated
|
||||
normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7,
|
||||
1.0.0-x.7.z.92, 1.0.0-x-y-z.\-\-.
|
||||
|
||||
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.
|
||||
1. Build metadata MAY be denoted by appending a plus sign followed by one
|
||||
or more identifiers. The plus sign immediately follows the patch or
|
||||
pre-release version and is followed by the first identifier. If multiple
|
||||
identifiers are used, they are separated with dots.
|
||||
Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
|
||||
Identifiers MUST NOT be empty. Build metadata MUST be ignored when determining
|
||||
version precedence. Thus two versions that differ only in the build metadata,
|
||||
|
Loading…
Reference in New Issue
Block a user