Skip to content

Conversation

@mattfarina
Copy link
Member

Up to this point, all versions in an and group needed to have a prerelease to be checked with those correctly. This change enables just one item in an and group to have a pre-release and engage it for all items in that and group.

This does not work across ORs. For example,
>= 1.2.3 < 2.0.0-beta || > 3 will evaluate prereleases in the group between 1.2.3 and 2.0.0-beta but will not look at prereleases when looking at >3.

Closes #259

Up to this point, all versions in an and group needed to have a
prerelease to be checked with those correctly. This change
enables just one item in an and group to have a pre-release
and engage it for all items in that and group.

This does not work across ORs. For example,
`>= 1.2.3 < 2.0.0-beta || > 3` will evaluate prereleases in the
group between 1.2.3 and 2.0.0-beta but will not look at
prereleases when looking at `>3`.

Signed-off-by: Matt Farina <[email protected]>
@mattfarina mattfarina merged commit 057c901 into Masterminds:master Jun 26, 2025
13 checks passed
@mattfarina mattfarina deleted the fix-259 branch June 26, 2025 12:52
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.

Range condition with build numbers not working as expected

1 participant