-
-
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
Help wanted: commitizen 3.x not supoort generate CHANGELOG with tag format like v1.0.0-release #950
Comments
Thanks for reporting. Just verified this is a valid issue. |
The root cause is commitizen/commitizen/version_schemes.py Line 152 in ac07bda
from packaging.version import Version as _BaseVersion
_BaseVersion("1.0.0-test") I guess we'll need to overwrite https://github.com/pypa/packaging/blob/32deafe8668a2130a3366b98154914d188f3718e/src/packaging/version.py#L185 to something like https://github.com/pypa/packaging/blob/32deafe8668a2130a3366b98154914d188f3718e/src/packaging/version.py#L117 but with semver support? @noirbizarre @woile WDYT? |
Definitely a good idea, we should add tests for |
Added tests first #1081 |
Description
Commitizen 3.x not supoort generate CHANGELOG with tag format like
v1.0.0-release
, but it works well with commitizen 2.x.My repo tags could not be changed as it released. Any idea to solve this problem in order to generate the changelog correctly?
Steps to reproduce
Current behavior
no
Desired behavior
no
Screenshots
No response
Environment
cz version
: 3.13.0The text was updated successfully, but these errors were encountered: