Skip to content

Add semantic version check #13

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

Merged
merged 6 commits into from
Jun 2, 2025
Merged

Conversation

dublinsubway
Copy link
Contributor

Closes #12 .
Tested locally, by downgrading package.toml to 1.7.0. Got both rc releases without the change and no such releases with the change.

@woodruffw
Copy link
Member

Thanks @dublinsubway, I'll review this in a bit!

@woodruffw
Copy link
Member

Hmm, I think a cleaner way to do this might be to push it into get_all_versions -- that helper function can use the Version APIs to filter out any prereleases.

(Technically we probably also want to filter out postreleases and any other kinds of modifiers as well, but I don't plan on using those so we don't need to handle that.)

@dublinsubway
Copy link
Contributor Author

Thanks @woodruffw , makes sense - changed it accordingly.

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

woodruffw added 3 commits June 2, 2025 10:54
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw merged commit 8ed4823 into zizmorcore:main Jun 2, 2025
1 check passed
@dublinsubway dublinsubway deleted the patch-1 branch June 2, 2025 21:23
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.

Bug: prereleases are not skipped correctly
2 participants