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
traceback (most recent call last):
File "/usr/local/python/current/bin/cz", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/local/python/3.13.2/lib/python3.13/site-packages/commitizen/cli.py", line 656, in main
args.func(conf, arguments)()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/python/3.13.2/lib/python3.13/site-packages/commitizen/commands/bump.py", line 147, in __call__
current_version = self.scheme(provider.get_version())
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/python/3.13.2/lib/python3.13/site-packages/commitizen/providers/scm_provider.py", line 21, in get_version
versions = sorted(rules.extract_version(t) for t in version_tags)
File "/usr/local/python/3.13.2/lib/python3.13/site-packages/commitizen/providers/scm_provider.py", line 21, in <genexpr>
versions = sorted(rules.extract_version(t) for t in version_tags)
~~~~~~~~~~~~~~~~~~~~~^^^
File "/usr/local/python/3.13.2/lib/python3.13/site-packages/commitizen/tags.py", line 149, in extract_version
raise InvalidVersion(
f"Invalid version tag: '{tag.name}' does not match any configured tag format"
)
packaging.version.InvalidVersion: Invalid version tag: '5.49.0.RC5' does not match any configured tag format
Desired behavior
bump to 5.52.0
Screenshots
No response
Environment
cz version --report
Commitizen Version: 4.6.0
Python Version: 3.13.2 (main, Apr 17 2025, 12:48:27) [GCC 12.2.0]
Operating System: Linux
The text was updated successfully, but these errors were encountered:
Description
hi, we have a bunch of tags in the format $version.RC* which should not be considered when a bump is requested... this is our .cz.yaml file:
we are trying to bump from 5.51.6 to 5.52.0, these are the actual tags:
Steps to reproduce
cz bump
Current behavior
and this is the stack trace of a test run:
Desired behavior
bump to 5.52.0
Screenshots
No response
Environment
cz version --report
Commitizen Version: 4.6.0
Python Version: 3.13.2 (main, Apr 17 2025, 12:48:27) [GCC 12.2.0]
Operating System: Linux
The text was updated successfully, but these errors were encountered: