HEAD. A repository —
or branch — with no tags has no base version, so zerv stops instead of inventing 0.0.0.
Reproduce
Any commit in a repo that has no tags yet:Fix
- Create the first tag:
git tag v0.1.0 && git push origin v0.1.0 - Seed the base version explicitly when tagging is not yours to do:
zerv flow --tag-version "v0.1.0" - In CI, check out with full history: a shallow clone (
fetch-depth: 1) can cut the tags off. zerv’s reusable workflow usesfetch-depth: 0for exactly this reason.