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
I notice that with v3.0.1 and v.3.0.2 the comparison fails when the constraint is build with a dirty version (eg. 4.5).
func main() { versionConstraint, err := semver.NewConstraint("1.5.0 - 4.5") if err != nil { return } currVersion, err := semver.NewVersion("3.7.0") if err != nil { return } fmt.Println(versionConstraint.Check(currVersion)) }
In The Go Playground, where v.1.5.0 is used, there is no such a bug. From debugging I see that the problem is in constraints.go, line 404 (v3.0.1)
The text was updated successfully, but these errors were encountered:
In the playground... https://play.golang.org/p/loDoXzw7Aki
Sorry, something went wrong.
Fixed issue with <= comparison
f1b17e8
Fixed Masterminds#141
Successfully merging a pull request may close this issue.
I notice that with v3.0.1 and v.3.0.2 the comparison fails when the constraint is build with a dirty version (eg. 4.5).
In The Go Playground, where v.1.5.0 is used, there is no such a bug.
From debugging I see that the problem is in constraints.go, line 404 (v3.0.1)
The text was updated successfully, but these errors were encountered: