mtkennerly / dunamai

Dynamic versioning library and CLI
https://dunamai.readthedocs.io/en/latest
MIT License
312 stars 24 forks source link

dunamai cannot parse tagged PEP 440 post-release #34

Closed layday closed 2 years ago

layday commented 2 years ago

For a tagged PEP 440-style post-release, dunamai chops the dot off and reports that the version does not conform to PEP 440:

$ git describe --tags
v1.31.0.post1
$ git status --porcelain
$ echo $status
0
$ dunamai from git
Version '1.31.0post1' does not conform to the PEP 440 style
layday commented 2 years ago

Thanks for the fix :)