bskinn / node-git-scm-version

Generates change-based version build numbers from the git tree and tags
MIT License
0 stars 0 forks source link

Add fallback to `v0` if no tags are found matching the regex in the history of the branch #3

Open bskinn opened 7 months ago

bskinn commented 7 months ago

Backstop for an attempt to use it in a new project without any version tags; or, in a project where the version tags don't match the format.

Backstopping to v0 should be straightforward enough. We'll then still want to calculate the number of commits since the first commit in the history, though.