Originally created by @burn2delete on GitHub (Mar 16, 2014).
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 hyphen [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 indicates that the version is unstable and might not satisfy the 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.
This section has a false example... 1.0.0-0.3.7 has a leading zero, which is explicitly said it shouldn't contain. Or am I misreading this section?
Originally created by @burn2delete on GitHub (Mar 16, 2014).
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 hyphen [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 indicates that the version is unstable and might not satisfy the 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.
This section has a false example... 1.0.0-0.3.7 has a leading zero, which is explicitly said it shouldn't contain. Or am I misreading this section?
0.3.7 has three components, 0, 3, 7, and each of them shouldn't have leading zero. Leading zero is a zero before another digit, i.e. 0001. 0 isn't a leading zero, it's just zero.
It means that 9.9.9-0.3.7 is allowed, but 9.9.9-1.0003.7 is not.
@rlidwka commented on GitHub (Mar 16, 2014):
You're misreading this section.
`0.3.7` has three components, `0`, `3`, `7`, and each of them shouldn't have leading zero. Leading zero is a zero before another digit, i.e. `0001`. `0` isn't a leading zero, it's just zero.
It means that `9.9.9-0.3.7` is allowed, but `9.9.9-1.0003.7` is not.
@flyboarder, if you have no further questions, please close this issue at your earliest possible convenience.
@jwdonahue commented on GitHub (Dec 6, 2017):
@flyboarder, if you have no further questions, please close this issue at your earliest possible convenience.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @burn2delete on GitHub (Mar 16, 2014).
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 hyphen [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 indicates that the version is unstable and might not satisfy the 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.
This section has a false example... 1.0.0-0.3.7 has a leading zero, which is explicitly said it shouldn't contain. Or am I misreading this section?
@rlidwka commented on GitHub (Mar 16, 2014):
You're misreading this section.
0.3.7has three components,0,3,7, and each of them shouldn't have leading zero. Leading zero is a zero before another digit, i.e.0001.0isn't a leading zero, it's just zero.It means that
9.9.9-0.3.7is allowed, but9.9.9-1.0003.7is not.@jwdonahue commented on GitHub (Dec 6, 2017):
@flyboarder, if you have no further questions, please close this issue at your earliest possible convenience.