Closed ghostdox closed 3 months ago
@ghostdox if you run it inside of a git repository it should work, but agree, version
and help
should not depend on the presence of .git folder
:tada: This issue has been resolved in version 6.0.1 :tada: The release is available on:
Your GitReleaseManager bot :package::rocket:
Prerequisites
GitVersion package
GitVersion.Portable
GitVersion version
6.X
Operating system
Windows
What are you seeing?
Running
gitversion /version
orgitversion --version
from a command line fails if not run inside a git repository/directory.This worked fine with the previous 5.X version. See a related issue here.
What is expected?
Should display the version of gitversion, without being forced to be inside a git repository/folder.
Steps to Reproduce
Run on Windows, have chocolatey installed:
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).