When using the tool on a shallow clone of a repository, the resulting version can to be 0.0.0.
I faced the problem when using GitLab runners, which use shallow clones by default.
The solution for me was to ensure to have an unshallow clone by adding git fetch --unshallow to my CI.
If you ask me, a hint to make sure to use an unshallow clone in case of a 0.0.0 return would be nice.
When using the tool on a shallow clone of a repository, the resulting version can to be 0.0.0.
I faced the problem when using GitLab runners, which use shallow clones by default.
The solution for me was to ensure to have an unshallow clone by adding
git fetch --unshallowto my CI.If you ask me, a hint to make sure to use an unshallow clone in case of a 0.0.0 return would be nice.