Closed
Description
It's a common case to build and publish the package to PyPI at tagged commits and to TestPyPI on untagged commits. However, both PyPI and TestPyPI does not accept version string with a local version suffix. Therefore, it will be helpful to add a 'dev' suffix only when we are not exactly on a tag and use the local version '+dxxx' or '+gxxx' only when there is uncommited changes. So, how can we customize the formattion of the version string generated by pdm? If it's not supported now, can we support it in the future?
Metadata
Metadata
Assignees
Labels
No labels