jwodder / versioningit

Versioning It with your Version In Git
MIT License
78 stars 5 forks source link

Give `tag2version` a `replace: dict[str, str]` parameter #67

Open jwodder opened 11 months ago

jwodder commented 11 months ago

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.