Handling the 'badge' naming for RedHat6

This commit is contained in:
John Beisner 2017-09-28 11:19:49 -07:00
parent 18a79ee291
commit fbb61475f7
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,7 @@
<Target Name="SetBadgeProps">
<PropertyGroup>
<VersionBadgeMoniker>$(OSName)_$(Architecture)</VersionBadgeMoniker>
<VersionBadgeMoniker Condition=" '$(Rid)' == 'rhel.6-x64' ">rhel.6_x64</VersionBadgeMoniker>
<VersionBadgeMoniker Condition=" '$(IslinuxPortable)' == 'true' ">linux_x64</VersionBadgeMoniker>
<VersionBadgeMoniker Condition=" '$(IsBuildingAndPublishingAllLinuxDistrosNativeInstallers)' == 'true' ">all_linux_distros_native_installer</VersionBadgeMoniker>
@ -37,4 +38,4 @@
<CoherentBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_coherent_badge.svg</CoherentBadge>
</PropertyGroup>
</Target>
</Project>
</Project>

View file

@ -53,6 +53,7 @@ namespace Microsoft.DotNet.Cli.Build
{ "win_x64", false },
{ "osx_x64", false },
{ "linux_x64", false },
{ "rhel.6_x64", false },
{ "all_linux_distros_native_installer", false}
};