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
While overstuffed, this config you've found is a working model of semver pre_labels, once you uncomment line 47.
I didn't end up creating the other ticket I alluded to, because I found a workaround, but this example config highlights my main question about the would-be semver tutorial, which is how in step 5 we can go from 1.0.1-rc2 to 1.0.1, in a single command which doesn't include any explicit state (such as the undesirable bump-my-version bump patch --new-version 1.0.1).
With this config, the tutorial's syntax of bump-my-version release returns Unknown version part: release. And running bump pre_label when the current version is already an rc returns a stack trace ending with the complaint, ValueError: The part has already the maximum value among ['final', 'a', 'b', 'rc'] and cannot be bumped. So one can either bump patch to a later version than the release candidate, or specify a version explicitly; I'm not finding a third option.
Description
I am not finding sample configuration to support the workflow described at https://callowayproject.github.io/bump-my-version/tutorials/semantic-versioning-example.html, and I've been unable to recreate it. I'll elaborate in another case because my goals differ slightly from what's described there, but seeing how to do what's described there would have been helpful.
The text was updated successfully, but these errors were encountered: