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
Hi, this is not the first time I hit this issue with GitInfo. First time and probably this time I'll fix git warning and will not have problem, but still its possible to hit it from time to time.
In our repo describe tags prints warning
$ git describe --tags
warning: tag 'refs/tags/Cloud_1.0_Deployment' is really 'Cloud_1.0_Deployment' here
refs/tags/Cloud_1.0_Deployment-99-g9500e448
As a result GitInfo.cache has tag info which look like this:
GitTag=warning: tag 'refs/tags/Cloud_1.0_Deployment' is really 'Cloud_1.0_Deployment' here;refs/tags/Cloud_1.0_Deployment-99-g9500e448;
GitBaseTag=refs/tags/Cloud_1.0_Deployment;warning: tag 'refs/tags/Cloud_1.0_Deployment' is really 'Cloud_1.0_Deployment' here;
Which leads to build error.
The text was updated successfully, but these errors were encountered:
If you're not using the tags for versioning, you can turn off tag processing entirely GitIgnoreTagVersion. Or do you still use some tags for versioning and also for other purposes simulateously?
We now provide $(GitTagRegex) which is passed to git describe --tags --match to filter out the ones you don't want (defaults to *). We also always validate the tag against the version regex, so the error should be obvious too.
Hi, this is not the first time I hit this issue with GitInfo. First time and probably this time I'll fix git warning and will not have problem, but still its possible to hit it from time to time.
In our repo describe tags prints warning
As a result GitInfo.cache has tag info which look like this:
Which leads to build error.
The text was updated successfully, but these errors were encountered: