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

Commit 6023e3f

Browse files
authored
Merge pull request #266 from mellinoe/rid-moniker-mappings
Add rid-moniker mappings for openSUSE 42.1 and Ubuntu 16.10
2 parents aa07f3c + 0ebdca8 commit 6023e3f

File tree

1 file changed

+5
-1
lines changed
  • build_projects/shared-build-targets-utils/Utils

1 file changed

+5
-1
lines changed

build_projects/shared-build-targets-utils/Utils/Monikers.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static string GetProductMoniker(BuildTargetContext c, string artifactPref
1919
{
2020
string rid = Environment.GetEnvironmentVariable("TARGETRID") ?? RuntimeEnvironment.GetRuntimeIdentifier();
2121

22-
if (rid == "ubuntu.16.04-x64" || rid == "fedora.23-x64" || rid == "opensuse.13.2-x64")
22+
if (rid == "ubuntu.16.04-x64" || rid == "ubuntu.16.10-x64" || rid == "fedora.23-x64" || rid == "opensuse.13.2-x64" || rid == "opensuse.42.1-x64")
2323
{
2424
return $"{artifactPrefix}-{rid}.{version}";
2525
}
@@ -37,10 +37,14 @@ public static string GetBadgeMoniker()
3737
{
3838
case "ubuntu.16.04-x64":
3939
return "Ubuntu_16_04_x64";
40+
case "ubuntu.16.10-x64":
41+
return "Ubuntu_16_10_x64";
4042
case "fedora.23-x64":
4143
return "Fedora_23_x64";
4244
case "opensuse.13.2-x64":
4345
return "openSUSE_13_2_x64";
46+
case "opensuse.42.1-x64":
47+
return "openSUSE_42_1_x64";
4448
}
4549

4650
return $"{CurrentPlatform.Current}_{CurrentArchitecture.Current}";

0 commit comments

Comments
 (0)