Fix version badges to display Nuget Version of cli.

We started using the nuget version in rest of our build scripts.
Fixes - #2099
This commit is contained in:
Sridhar Periyasamy 2016-03-28 17:51:36 -07:00
parent cf616770ca
commit 8bb35349f9
2 changed files with 6 additions and 6 deletions

View file

@ -44,7 +44,7 @@ namespace Microsoft.DotNet.Cli.Build
var outputVersionSvg = c.BuildContext.Get<string>("VersionBadge");
var versionSvgContent = File.ReadAllText(versionSvg);
versionSvgContent = versionSvgContent.Replace("ver_number", buildVersion.SimpleVersion);
versionSvgContent = versionSvgContent.Replace("ver_number", buildVersion.NuGetVersion);
File.WriteAllText(outputVersionSvg, versionSvgContent);
return c.Success();