dunamai

Dynamically generate version strings from Git repository metadata

brewmacoslinux
Try with needOr install directly
Source

About

Dynamic version generation

Commands

dunamai

Examples

Get the current version from Git tags and commits$ dunamai from git
Generate version with custom output format$ dunamai from git --format '{base}+{distance}.{commit}'
Create a version string with commit distance and hash$ dunamai from git --style pep440