Addressing code review comments and adding opensuse 13.2
This commit is contained in:
parent
5174fc06bd
commit
7652335195
54 changed files with 186 additions and 54 deletions
|
@ -50,7 +50,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{ "rhel.7-x64", "rhel.7-x64" },
|
||||
{ "rhel.7.2-x64", "rhel.7-x64" },
|
||||
{ "debian.8-x64", "debian.8-x64" },
|
||||
{ "fedora.23-x64", "fedora.23-x64" }
|
||||
{ "fedora.23-x64", "fedora.23-x64" },
|
||||
{ "opensuse.13.2-x64", "opensuse.13.2-x64" }
|
||||
};
|
||||
|
||||
public const string SharedFrameworkName = "Microsoft.NETCore.App";
|
||||
|
|
|
@ -105,7 +105,8 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
"osx.x64.version",
|
||||
"debian.x64.version",
|
||||
"centos.x64.version",
|
||||
"fedora.23.x64.version"
|
||||
"fedora.23.x64.version",
|
||||
"opensuse.13.2.x64.version"
|
||||
};
|
||||
|
||||
string cliVersion = Utils.GetCliVersionFileContent(c);
|
||||
|
@ -148,12 +149,13 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{ "OSX_x64", false },
|
||||
{ "Debian_x64", false },
|
||||
{ "CentOS_x64", false },
|
||||
{ "Fedora_23_x64", false }
|
||||
{ "Fedora_23_x64", false },
|
||||
{ "openSUSE_13_2_x64", false }
|
||||
};
|
||||
|
||||
List<string> blobs = new List<string>(AzurePublisherTool.ListBlobs($"{Channel}/Binaries/{CliNuGetVersion}/"));
|
||||
|
||||
var versionBadgeName = $"{CurrentPlatform.Current}_{CurrentArchitecture.Current}";
|
||||
var versionBadgeName = $"{Monikers.GetBadgeMoniker()}";
|
||||
if (badges.ContainsKey(versionBadgeName) == false)
|
||||
{
|
||||
throw new ArgumentException("A new OS build was added without adding the moniker to the {nameof(badges)} lookup");
|
||||
|
|
|
@ -83,7 +83,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
CleanNuGetTempCache();
|
||||
|
||||
var dotnet = DotNetCli.Stage2;
|
||||
dotnet.Restore("--verbosity", "verbose", "--disable-parallel")
|
||||
dotnet.Restore("--verbosity", "verbose")
|
||||
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestPackages"))
|
||||
.Execute()
|
||||
.EnsureSuccessful();
|
||||
|
@ -101,7 +101,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
var dotnet = DotNetCli.Stage2;
|
||||
dotnet.Restore(
|
||||
"--verbosity", "verbose", "--disable-parallel",
|
||||
"--verbosity", "verbose",
|
||||
"--fallbacksource", Dirs.TestPackages)
|
||||
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestProjects"))
|
||||
.Execute()
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
"centos.7-x64": {},
|
||||
"rhel.7.2-x64": {},
|
||||
"debian.8-x64": {},
|
||||
"fedora.23-x64": {}
|
||||
"fedora.23-x64": {},
|
||||
"opensuse.13.2-x64": {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue