where major.minor.patch part come from git tag, and build part should be number increment for each build. I would like to use as build-part a commitDistance but not to last tag and to first repository commit or to a specified tag, for example "0.0.0" which I tagged a first commit. Is it possible to modify versionDetails to support such global commitDistance?
I need version number in format:
major.minor.patch.build
where
major.minor.patch
part come from git tag, andbuild
part should be number increment for each build. I would like to use asbuild
-part acommitDistance
but not to last tag and to first repository commit or to a specified tag, for example "0.0.0" which I tagged a first commit. Is it possible to modifyversionDetails
to support such globalcommitDistance
?