Skip to content

Publish as .NET Core Global Tool #1464

@kll

Description

@kll

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions