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

Check that version was not previosly uploaded to pypi #1864

Open
arogozhnikov opened this issue Dec 20, 2024 · 0 comments
Open

Check that version was not previosly uploaded to pypi #1864

arogozhnikov opened this issue Dec 20, 2024 · 0 comments

Comments

@arogozhnikov
Copy link

arogozhnikov commented Dec 20, 2024

Every now and then I make a mistake of creating release on github, and forget to update package version in the code.

hatch publish does not fail in this case, but simply does nothing, and I figure this out a bit later.

This would be of great help if I could do smth like this in actions:

hatch publish --check-not-uploaded that would first that neither distribution with same version was previously uploaded to pypi, and fail before uploading anything.

Thanks!

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

1 participant