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
Can not find all git info during build when on branch with '.' in the name
for instance ThisAssembly.Git.BaseTag will be empty
Steps to Reproduce
Use GitInfo in a project
have a tag on a reachable branch
Create and checkout a branch with a '.' in the name for instance: 'dotnet8.0'
build the project.
Warnings:
4>xxx.nuget\packages\gitinfo\3.3.3\build\GitInfo.targets(713,5): warning MSB3073: The command "..." exited with code 128.
4>Cxxx.nuget\packages\gitinfo\3.3.3\build\GitInfo.targets(726,5): warning GI005: Could not retrieve first commit where branch dotnet8.0 forked from main. Defaulting to zero commits.
When running the program ThisAssembly.Git.BaseTag will be empty
Expected Behavior
no warnings
the correct tag in BaseTag
Version Info
Version 3.3.3, but also with older versions
The text was updated successfully, but these errors were encountered:
Describe the Bug
Can not find all git info during build when on branch with '.' in the name
for instance ThisAssembly.Git.BaseTag will be empty
Steps to Reproduce
Use GitInfo in a project
have a tag on a reachable branch
Create and checkout a branch with a '.' in the name for instance: 'dotnet8.0'
build the project.
Warnings:
4>xxx.nuget\packages\gitinfo\3.3.3\build\GitInfo.targets(713,5): warning MSB3073: The command "..." exited with code 128.
4>Cxxx.nuget\packages\gitinfo\3.3.3\build\GitInfo.targets(726,5): warning GI005: Could not retrieve first commit where branch dotnet8.0 forked from main. Defaulting to zero commits.
When running the program ThisAssembly.Git.BaseTag will be empty
Expected Behavior
Version Info
Version 3.3.3, but also with older versions
The text was updated successfully, but these errors were encountered: