You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to setup my config file to use the latest commit hash, but when I try to run the 'absorb' command, I get the 'GitTagNotFound' error. I tried the fixes in #48, but they did not do the trick.
The text was updated successfully, but these errors were encountered:
I got the same issue as you but upon further investigation, it's because of the matcher field. Even if you have Git tags, so long as the format doesn't match the regex in matcher, it will show up throw the GitTagNotFound exception.
@antonioribeiro already highlighted here that you'd have to change the regex to match whatever Git tag format you use. Try using this regex fiddler to see if the version tag (run git describe) can be matched by the regex in matcher.
gjj
added a commit
to gjj/version
that referenced
this issue
Dec 7, 2019
I also had a similar problem I had to update the git version local matcher from just git describe to git describe --tags. Note you first need a tag associated with your latest commit that matches your version format e.g. a tag 1.0.0 for your first git commit hash.
I am trying to setup my config file to use the latest commit hash, but when I try to run the 'absorb' command, I get the 'GitTagNotFound' error. I tried the fixes in #48, but they did not do the trick.
The text was updated successfully, but these errors were encountered: