Merge pull request #2102 from Sridhar-MS/version_badges
Fix version badges to display Nuget Version of cli.
This commit is contained in:
commit
e07e0c12ed
2 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue