Remove OpenSUSE13 and Fedora23 since they are end of lifed.

This commit is contained in:
Eric Erhardt 2017-03-01 15:12:16 -06:00
parent b3b4e4257c
commit b64068291b
13 changed files with 33 additions and 60 deletions

View file

@ -26,6 +26,9 @@ namespace Microsoft.DotNet.Cli.Build
[Required]
public string NugetVersion { get; set; }
[Required]
public string VersionBadgeMoniker { get; set; }
[Output]
public string HaveAllBuildsPublished { get; set; }
@ -54,14 +57,11 @@ namespace Microsoft.DotNet.Cli.Build
{ "osx_x64", false },
{ "debian_x64", false },
{ "centos_x64", false },
{ "fedora_23_x64", false },
{ "openSUSE_13_2_x64", false }
};
var versionBadgeName = $"{Monikers.GetBadgeMoniker()}";
if (!badges.ContainsKey(versionBadgeName))
if (!badges.ContainsKey(VersionBadgeMoniker))
{
throw new ArgumentException($"A new OS build '{versionBadgeName}' was added without adding the moniker to the {nameof(badges)} lookup");
throw new ArgumentException($"A new OS build '{VersionBadgeMoniker}' was added without adding the moniker to the {nameof(badges)} lookup");
}
IEnumerable<string> blobs = AzurePublisherTool.ListBlobs(AzurePublisher.Product.Sdk, NugetVersion);