Ktos.Build.GitVersion 1.1.0

Requires NuGet 2.8 or higher.

dotnet add package Ktos.Build.GitVersion --version 1.1.0
NuGet\Install-Package Ktos.Build.GitVersion -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ktos.Build.GitVersion" Version="1.1.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ktos.Build.GitVersion --version 1.1.0
#r "nuget: Ktos.Build.GitVersion, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ktos.Build.GitVersion as a Cake Addin
#addin nuget:?package=Ktos.Build.GitVersion&version=1.1.0

// Install Ktos.Build.GitVersion as a Cake Tool
#tool nuget:?package=Ktos.Build.GitVersion&version=1.1.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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 5,319 8/13/2015
1.0.2 2,595 7/13/2015
1.0.1 2,990 1/22/2015
1.0.0 2,578 11/24/2014

upgraded to newest GitVersion and MSBuildTasks