Derives SemVer information from a repository following GitFlow or GitHubFlow. This is the .NET Core Global Tool allowing usage of GitVersion from command line.
Exposes the following information for use directly from MSBuild, C#, F# and VB:
$(GitBranch), ThisAssembly.Git.Branch
$(GitCommit), ThisAssembly.Git.Commit
$(GitSha), ThisAssembly.Git.Sha
$(GitBaseVersionMajor), ThisAssembly.Git.BaseVersion.Major
$(GitBaseVersionMinor),...
More information
Derives SemVer information from a repository following GitFlow or GitHubFlow. This is the Core library which both GitVersion cli and Task use allowing programatic usage of GitVersion.