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

fix(dev-tools): ensure that bump is minimal so that later release sort properly #10878

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Feb 21, 2025

This fixes an issue with bump_version.py where we were originally bumping to major, but that results in an incorrect ordering when the next release after a pre-release is not a major release.

For example,

Let's say the current version is 10.0.0, and the next release will be 10.1.0--a feature release. If the pre-release is published as 11.0.0.devNNN then the 10.1.0 release will sort before the pre-release, which is incorrect.

The solution is to always bump the pre-release by only its minor version.

@cpcloud cpcloud merged commit 39729c7 into ibis-project:main Feb 22, 2025
90 checks passed
@cpcloud cpcloud deleted the bump-version-fix branch February 22, 2025 11:25
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.

1 participant