diff --git a/resources/images/version_badge.svg b/resources/images/version_badge.svg index 2f5c36631..22c125cbd 100644 --- a/resources/images/version_badge.svg +++ b/resources/images/version_badge.svg @@ -1,16 +1,16 @@ - + - + - + version version - ver_number - ver_number + ver_number + ver_number diff --git a/scripts/dotnet-cli-build/PackageTargets.cs b/scripts/dotnet-cli-build/PackageTargets.cs index 16203b303..d4e532da4 100644 --- a/scripts/dotnet-cli-build/PackageTargets.cs +++ b/scripts/dotnet-cli-build/PackageTargets.cs @@ -44,7 +44,7 @@ namespace Microsoft.DotNet.Cli.Build var outputVersionSvg = c.BuildContext.Get("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();