-
Notifications
You must be signed in to change notification settings - Fork 655
Description
I think it would be a good idea to publish GitVersion as a .NET Core Global Tool.
I'm willing to do the work if it is agreed upon that it is a good idea. I haven't looked into it in detail yet but I assume it would probably need some outstanding work like #1445 and #1422 to get wrapped up first. It would obviously require getting actual stable releases out to nuget.org again. 😄
First order of business would be picking the name of the package. I'm personally pretty confused on what all the various GitVersion related packages already on nuget.org are for so I think some care to pick a good meaningful is important. I like what Cake did in v0.30.0 and suggest GitVersion.Tool
for the package name. It's not taken but there is an existing GitVersion.Tools which might be confusing.
The end result would be easily installing GitVersion on any platform that supports .NET core with the following command:
dotnet tool install -g GitVersion.Tool
Then you can run it from anywhere with this command:
dotnet gitversion