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
Whenever something is merged in our main branch commitizen checks if a version bump is required. Usually it's fine but whenever no increment is detected it will still try to create a tag while it shouldn't. Because the version is still the same and matches a previously created tag the command and the pipeline fails. Am I just not handling this correctly? I can't imagine nobody has run into this yet.
Steps to reproduce
Make sure a git tag exists that matches the version commitizen is tracking. Create a new commit that shouln't trigger a version bump then run cz bump and watch it fail.
bump: version 0.10.2 → 0.10.2
tag to create: v0.10.2
increment detected: None
fatal: tag 'v0.10.2' already exists
Desired behavior
I think it shouldn't try to create a git tag if no change is detected.
The text was updated successfully, but these errors were encountered:
I think this one also relates to #118 . In my own project, I use this error code to avoid pipeline failed. I'll be a biy busy recently. Will see whether I can have more time to solve isssues on November.
Description
Whenever something is merged in our main branch commitizen checks if a version bump is required. Usually it's fine but whenever no increment is detected it will still try to create a tag while it shouldn't. Because the version is still the same and matches a previously created tag the command and the pipeline fails. Am I just not handling this correctly? I can't imagine nobody has run into this yet.
Steps to reproduce
Make sure a git tag exists that matches the version commitizen is tracking. Create a new commit that shouln't trigger a version bump then run
cz bump
and watch it fail.Desired behavior
I think it shouldn't try to create a git tag if no change is detected.
The text was updated successfully, but these errors were encountered: