versioningit
versioningit copied to clipboard
Give `tag2version` a `replace: dict[str, str]` parameter
This would enable dealing with tags like like rel_1_0 (used by SQLAlchemy and Alembic) by mapping the underscores to periods.
Alternatively, tag2version could gain a dot: str parameter for specifying the version segment separator in tags.