Merge pull request #7723 from johnbeisner/RedHat6Enable

Handling the 'badge' naming for RedHat6
This commit is contained in:
Jan Vorlicek 2017-09-29 12:32:39 +02:00 committed by GitHub
commit 7826f23d56
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}
};