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

Wrong version listed unless --pre is passed #90

Closed
henryiii opened this issue Feb 14, 2023 · 2 comments
Closed

Wrong version listed unless --pre is passed #90

henryiii opened this issue Feb 14, 2023 · 2 comments

Comments

@henryiii
Copy link
Contributor

If I run:

pipx run lastversion https://github.com/charliermarsh/ruff-pre-commit

For some reason I get 0.0.89, when the latest version is 0.0.246. Even if I pass --newer-than 0.0.200, I still get 0.0.89. However, it starts working if I pass --pre. I'm not sure how 0.0.89 could be a non-pre-release while 0.0.246 is a pre-release? They are just git tags, not full GitHub releases.

@dvershinin
Copy link
Owner

It should be fixed in the latest lastversion release. The reason was that in the prior release, we added a feature that sees x.x.90+ as pre-releases because a number of projects use this convention to mark betas. Now 0.0.90+ is not seen as a pre-release.

@henryiii
Copy link
Contributor Author

henryiii commented Apr 4, 2023

Thanks! Hopefully Ruff doesn't hit 0.0.900...

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

2 participants