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
Unable to create pre-release with an empty token #344
Activity
tomschr commentedon Dec 7, 2021
Thank you @vincent-herlemont, much appreciated. Sorry for the late response.
I suppose, this should be fixed. This behaviour is the same for the method
.bump_build(). So both need to be adapted.tomschr commentedon Oct 8, 2022
@vincent-herlemont One question. What would you expect if you have already a prerelease and pass an empty string? Like this:
I could think of two solutions:
.bump_prerelease(). In our case above, you would get1.0.0-rc.2..bump_prerelease(). In our case above, you would get1.0.0-0.If you already have a prerelease, you would like to continue when using
.bump_prerelease(), right? Solution 2 would be more flexible.In other words: If prerelease isn't set, the token is taken into account, otherwise it's ignored (regardless of the value).
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump method
Fix python-semver#344 Allow empty string for bump methods
Merge pull request #365 from tomschr/feature/344-prerelease-build