Skip to content
New issue

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

[question] Why constraint without a pre-release can only match a version without a pre-release? #59

Open
tommyvicananza opened this issue Jun 7, 2019 · 2 comments

Comments

@tommyvicananza
Copy link

I'd like to know the reason why constraint without a pre-release can only match a version without a pre-release, we're using Nomad when we're trying RC many of our jobs are not able to run because prereleaseCheck function.

It'd be great to compare something like 0.9.2-rc1 >= 0.9.0

Thanks in advance.

@kmoe
Copy link
Member

kmoe commented Jan 27, 2021

The reason for this behaviour is discussed in #35.

@magodo
Copy link

magodo commented May 17, 2023

Then how can I specify a constraint to accept any version that is greater than, e.g., v0.12, regardless of pre-release or not?

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

No branches or pull requests

3 participants