-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE]: "gitversion /version" fails if not run from a git repository #4125
Comments
@ghostdox if you run it inside of a git repository it should work, but agree, |
13 tasks
arturcic
added a commit
to arturcic/GitVersion
that referenced
this issue
Jul 26, 2024
arturcic
added a commit
to arturcic/GitVersion
that referenced
this issue
Jul 26, 2024
arturcic
added a commit
to arturcic/GitVersion
that referenced
this issue
Jul 27, 2024
arturcic
added a commit
to arturcic/GitVersion
that referenced
this issue
Jul 28, 2024
arturcic
added a commit
to arturcic/GitVersion
that referenced
this issue
Jul 29, 2024
🎉 This issue has been resolved in version 6.0.1 🎉 Your GitReleaseManager bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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).
The text was updated successfully, but these errors were encountered: