Git version warning on first commit
If a .gitversion file is added as the first commit ever, then a warning will be emitted 'Did not find any .gitversion file'.
Original Issue
tap sdk gitversion command warned existed .gitversion not found
Environment:
Windows 10, 64-bit
TAP 9.5.2
Steps to reproduce:
- Run
git init
in a project directory with.gitversion
file. - Commit all the files including
.gitversion
into git. - Create a new branch (
git checkout -b test-branch
). - Make some changes on a random file and commit it into the
test-branch
. - Run
tap sdk gitversion
in that directory.
Actual result:
The command will return Did not find any .gitversion file.
with the version string.
Expected result:
The command should return only the version string.
Edited by Rolf Madsen