I am using below plugin for managing the patch version automatically.
id "com.zoltu.git-versioning" version "3.0.3"
Basically the above plugin requires code to be taged using v.major.minor convention. So, I have tagged the code with v0.1 and the tag is reachable form the HEAD.
But still I am getting below error -
- What went wrong: A problem occurred evaluating root project 'report-service'.
Your repository must have at least one tag in it for git-versioning to work. Recommended solution: git tag v0.0
and git tag
shows there is a tag and i have checked the revision history and this tag is reachable from the branch I am working on -
$ git tag
v0.1
Does anyone have any clue what the issue is. This a blocker for me.
Thanks in advance for any help..