How to build from source? #3626
-
Hi. I'm trying to build the CLI tool from source, so I can test some changes I want to make. I couldn't find any documentation on how to create artifacts other than what's at https://github.com/GitTools/GitVersion/blob/main/CONTRIBUTING.md#release-process (which boils down to "GitHub Workflows does it"). I've been trying with Windows since it was the easiest place to update my .NET SDK version, but I'm happy to build it in a Docker container or WSL or whatever. I've tried a few things, including
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ah-ha! I figured something out: |
Beta Was this translation helpful? Give feedback.
Ah-ha! I figured something out:
dotnet build ./src/GitVersion.sln
and then the binaries are in.src/GitVersion.App/bin/
. In retrospect, I suppose that should have been obvious.