-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
UnboundLocalError exception thrown during cz bump #1004
Labels
Comments
niall-byrne
changed the title
Exception thrown during cz bump
UnboundLocalError exception thrown during cz bump
Mar 6, 2024
@noirbizarre do you think it might be related to the new feature? |
I'd say it has been introduced by c245b14, by the I'll submit a fix in the evening, it seems easy to fix. |
noirbizarre
added a commit
to noirbizarre/commitizen
that referenced
this issue
Mar 7, 2024
Merged
4 tasks
There it is, reproduced and fixed in #1007 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When I run cz bump without any existing tags, an error is thrown if I have a pre_bump script configured.
This started as of version 3.16.0, versions before that had no issue.
Steps to reproduce
Repo with no tags.
Configure a simple pre_bump script.
cz bump --increment MINOR --yes
Current behavior
Desired behavior
The version to be bumped a minor increment, and the pre_bump script to finish as it did before.
Screenshots
No response
Environment
This is happening both in my Linux CI and on my local OSX machine.
The text was updated successfully, but these errors were encountered: