You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected result should be true for me (5.15.0-7 should large than 5.4.0-77), but it seems that this is on purposed from the previous MR #35
can check this test case
But the current behaviour is quite confusing, the return value "false" does not stand for the version does not meet the constraint. Instead, it indicates "A constraint with a pre-release can only match a pre-release version with the same base segments." from this comment
Thus, the return value for the Check method is ambiguous.
I have a range of the versions and a version that I need to check if it is inside the range.
the constraint that I build was:
(see screenshot for clearer vision)
The version that I'm checking is
3.6.8
The check is returning false on the "less than" element (
<3.6.8-15.1
)Why does
3.6.8-15.1
considered not bigger than3.6.8
?The text was updated successfully, but these errors were encountered: