diff --git a/resources/images/version_badge.svg b/resources/images/version_badge.svg index 2f5c366319..22c125cbd7 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 16203b303f..d4e532da46 100644 --- a/scripts/dotnet-cli-build/PackageTargets.cs +++ b/scripts/dotnet-cli-build/PackageTargets.cs @@ -44,7 +44,7 @@ public static BuildTargetResult GenerateVersionBadge(BuildTargetContext c) 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();