Checking Version Constraints
is unpredictable while patch is missing in version string
#178
Labels
Checking Version Constraints
is unpredictable while patch is missing in version string
#178
When I was trying to validate version
14.1.1-debian
against constraints14.1.1-alpine
, it was giving error like14.1.1-debian is not equal to 14.1.1-alpine
which is expected.But when I was trying version
14.1-debian
against constraints14.1-alpine
, it was considered as valid version which is not expected to me.semver version: v3.1.1
For reproducing the error, I have given my go code below:
Output:
The text was updated successfully, but these errors were encountered: