mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #447] Should lower places be reset to 0 when higher places are incremented? #6316
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 @jacktose on GitHub (Jun 6, 2018).
Original GitHub issue: https://github.com/semver/semver/issues/447
I assume that when you increment Major, Minor and Patch are reset to 0, and when you increment Minor, Patch is reset to 0.
e.g.
2.6.5 -> 2.7.0,2.7.3 -> 3.0.0not
2.6.5 -> 2.7.5,2.6.5 -> 2.7.6,2.6.5 -> 2.7.2,2.7.3 -> 3.7.3, or anything like that.However, that doesn't seem to appear in the spec. If that is supposed to be the case, I suggest adding it as a SHOULD or a MUST.
I don't know whether it should apply to pre-release versions or build metadata. Maybe as a SHOULD?
@jacktose commented on GitHub (Jun 6, 2018):
Never mind, I missed this text: