mirror of
https://github.com/semver/semver.git
synced 2026-07-11 05:12:48 -05:00
[GH-ISSUE #760] Is 1.0.0-0 a valid SemVer? #3219
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KyNorthstar on GitHub (Oct 11, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/760
According to SemVer 2.0.0 rule 9:
This doesn't seem to me to cover the case of a pre-release identifier being only a zero. I think it'll be fine, just like a major/minor/patch identifier, but it's not clear to me
@KyNorthstar commented on GitHub (Oct 11, 2021):
I'm going to assume yes because one valid example is
1.0.0-0.3.7, implying that a sole0identifier is valid