We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
diff("1.7.2-1", "1.8.1") returns "patch".
diff("1.7.2-1", "1.8.1")
I would have expected it to return "minor" since we're moving from 1.7 to 1.8.
The text was updated successfully, but these errors were encountered:
> Semver.inc('1.7.2-1', 'patch') '1.7.2' > Semver.inc('1.7.2-1', 'minor') '1.8.0' > Semver.diff("1.7.2", "1.8.1") 'minor'
Sorry, something went wrong.
No branches or pull requests
Is there an existing issue for this?
Current Behavior
diff("1.7.2-1", "1.8.1")
returns "patch".Expected Behavior
I would have expected it to return "minor" since we're moving from 1.7 to 1.8.
Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: