bug: Using PEP440 version doesn't get reflected even when mentioned using -n pep440
#82
Labels
bug
Something isn't working
-n pep440
#82
Description of the bug
Generating CHANGELOG using
pep440
returns the same string as provided in the--bump
flagwhile using
--bump minor+dev
:To Reproduce
Full traceback
Used pyproject.toml
Expected behavior
Generated version should be 0.2.0.dev0
Environment information
git-changelog --debug-info # | xclip -selection clipboard
- __System__: Linux-6.5.0-26-generic-x86_64-with-glibc2.35 - __Python__: cpython 3.10.12 (/home/tuhin/Downloads/python_env/fastapi_env/bin/python) - __Environment variables__: - __Installed packages__: - `git-changelog` v2.5.1
Additional context
In the current repo I have a tag
v0.1.0
.Want to bump it using strategyminor+dev
ofpep440
. But, the version string is coming asminor+dev
Also, at the very top of the CHANGELOG.md it's showing the following line:
This clearly shows the project is not considering the
pep440
versioning even after mentioning using-n
or--versioning
.While running the following Python snippet shows the exact version that I want:
The text was updated successfully, but these errors were encountered: