You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
next_version("prerelease") returns a lower version when switching to an earlier prerelease token #497
Since #472 (fix for #339), next_version("prerelease", prerelease_token=...) resets to <token>.1 whenever the token differs from the current one. When the new token sorts before the current one, the result is a lower version, which contradicts the docstring ("Determines next version, preserving natural order").
Activity