mirror of
https://github.com/semver/semver.git
synced 2026-07-11 05:12:48 -05:00
[PR #282] Make notice about leading zeros clearer #6935
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?
📋 Pull Request Information
Original PR: https://github.com/semver/semver/pull/282
Author: @zudov
Created: 11/17/2015
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (1)
f642454Make notice about leading zeros clearer📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
semver.md(+2 -2)📄 Description
It was very unclear to me that "must not contain leading zeroes" is referring to "non-negative integers" rather than to "A normal version number".
First (correct) interpretation would disallow 1.01.1, second (incorrect) would disallow 0.1.0.
I tried to make it more explicit here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.