gradle-git-version icon indicating copy to clipboard operation
gradle-git-version copied to clipboard

Get commitDistance to specified tag

Open sdorof1 opened this issue 1 year ago • 0 comments

I need version number in format:

major.minor.patch.build

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?

sdorof1 avatar Sep 17 '24 18:09 sdorof1