Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clarify comment about obsolete prefixes #749

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mbtools
Copy link
Contributor

@mbtools mbtools commented Nov 28, 2024

Adds an explanation why the "=" and "v" prefixes should not be used anymore.

Adds an explanation why the "=" and "v" prefixes should not be used anymore.
@mbtools mbtools requested a review from a team as a code owner November 28, 2024 05:29
README.md Show resolved Hide resolved
@wraithgar
Copy link
Member

This now says two contradictory things.

  • v is stripped
  • v is kept

@@ -141,6 +141,8 @@ A "version" is described by the `v2.0.0` specification found at
<https://semver.org/>.

A leading `"="` or `"v"` character is stripped off and ignored.
A leading "v" is kept for compatibility with `v1.0.0` of the SemVer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A leading "v" is kept for compatibility with `v1.0.0` of the SemVer
Support for stripping a leading "v" is kept for compatibility with `v1.0.0` of the SemVer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants