Ktos.Build.GitVersion
1.0.1
Requires NuGet 2.8 or higher.
dotnet add package Ktos.Build.GitVersion --version 1.0.1
NuGet\Install-Package Ktos.Build.GitVersion -Version 1.0.1
<PackageReference Include="Ktos.Build.GitVersion" Version="1.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Ktos.Build.GitVersion --version 1.0.1
#r "nuget: Ktos.Build.GitVersion, 1.0.1"
// Install Ktos.Build.GitVersion as a Cake Addin #addin nuget:?package=Ktos.Build.GitVersion&version=1.0.1 // Install Ktos.Build.GitVersion as a Cake Tool #tool nuget:?package=Ktos.Build.GitVersion&version=1.0.1
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)
GitHub repositories
This package is not used by any popular GitHub repositories.
fixed readme.txt