Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit bf496a9

Browse files
William Liwilliaml33
authored andcommitted
Update bages to aligan with linux buid definition
1 parent 0dd17b6 commit bf496a9

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

build/VersionBadge.props

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionBadgeMoniker>$(OSName)_$(Architecture)</VersionBadgeMoniker>
4-
<VersionBadgeMoniker Condition=" '$(Rid)' == 'ubuntu.16.04-x64' ">ubuntu_16_04_x64</VersionBadgeMoniker>
5-
<VersionBadgeMoniker Condition=" '$(Rid)' == 'ubuntu.16.10-x64' ">ubuntu_16_10_x64</VersionBadgeMoniker>
6-
<VersionBadgeMoniker Condition=" '$(Rid)' == 'fedora.24-x64' ">fedora_24_x64</VersionBadgeMoniker>
7-
<VersionBadgeMoniker Condition=" '$(Rid)' == 'opensuse.42.1-x64' ">opensuse_42_1_x64</VersionBadgeMoniker>
3+
<VersionBadgeMoniker>$(OSName)_$(Architecture)</VersionBadgeMoniker>
4+
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'debian.8-x64' ">debian_8_x64</VersionBadgeMoniker>
5+
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'rhel.7-x64' ">rhel_7_x64</VersionBadgeMoniker>
6+
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'ubuntu.14.04-x64' ">ubuntu_14_04_x64</VersionBadgeMoniker>
7+
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'ubuntu.16.04-x64' ">ubuntu_16_04_x64</VersionBadgeMoniker>
8+
<VersionBadgeMoniker Condition=" '$(HostRid)' == 'ubuntu.16.10-x64' ">ubuntu_16_10_x64</VersionBadgeMoniker>
9+
<VersionBadgeMoniker Condition=" '$(IslinuxPortable)' == 'true' ">linux_x64</VersionBadgeMoniker>
810

911
<VersionBadge>$(BaseOutputDirectory)/$(VersionBadgeMoniker)_$(Configuration)_version_badge.svg</VersionBadge>
1012
</PropertyGroup>

build_projects/dotnet-cli-build/CheckIfAllBuildsHavePublished.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ public override bool Execute()
5252
{ "win_x86", false },
5353
{ "win_x64", false },
5454
{ "osx_x64", false },
55-
{ "linux_x64", false },
55+
{ "debian_8_x64", false },
56+
{ "rhel_7_x64", false },
57+
{ "ubuntu_14_04_x64", false },
58+
{ "ubuntu_16_04_x64", false },
59+
{ "ubuntu_16_10_x64", false },
60+
{ "linux_x64", false }
5661
};
5762

5863
if (!badges.ContainsKey(VersionBadgeMoniker))

0 commit comments

Comments
 (0)