Ktos.Build.GitVersion
1.0.0
See the version list below for details.
Requires NuGet 2.8 or higher.
dotnet add package Ktos.Build.GitVersion --version 1.0.0
NuGet\Install-Package Ktos.Build.GitVersion -Version 1.0.0
<PackageReference Include="Ktos.Build.GitVersion" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Ktos.Build.GitVersion --version 1.0.0
#r "nuget: Ktos.Build.GitVersion, 1.0.0"
// Install Ktos.Build.GitVersion as a Cake Addin #addin nuget:?package=Ktos.Build.GitVersion&version=1.0.0 // Install Ktos.Build.GitVersion as a Cake Tool #tool nuget:?package=Ktos.Build.GitVersion&version=1.0.0
This nuget updates your AssemblyInfo.cs with data from git repository based on GitFlow model (http://nvie.com/posts/a-successful-git-branching-model/), allowing you to create Semantic Versioning (http://semver.org/). It is basically a modification of GitVersion (https://github.com/ParticularLabs/GitVersion). Main differences are that using MSBuildCommunityTasks the AssemblyInfo.template.cs file is being changed with some variables being changed to proper version info, instead of creating completely new AssemblyInfo.cs.
Reasons are:
* I don't like GitVersion full versioning (like 1.2.3+4.Branch.master.Sha.12345678901234567890), so I can use here my own versioning scheme (like 1.2.3+4.master.1234567) (without "branch", "sha" and with short SHA hash);
* Automatically generated assemblies from GitVersion were not compatible with NETMF.
Learn more about Target Frameworks and .NET Standard.
-
- MSBuildTasks (>= 1.4.0.78)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
initial revision