Pack with NuGet 3.5.0 RTM

This commit is contained in:
Nate McMaster 2016-11-28 16:39:14 -08:00
parent e5c4e96705
commit f63006dc1a
1 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ namespace NuGetPackager
props += $";dep_{++idx}={depVersion}";
}
var buildCommand = Command.CreateDotNet("build",
var buildCommand = Command.CreateDotNet("build",
new[] { project.ProjectFile.ProjectFilePath, "--configuration", config },
configuration: config);
@ -129,15 +129,15 @@ namespace NuGetPackager
return Environment.GetEnvironmentVariable("KOREBUILD_NUGET_EXE");
}
var nugetPath = Path.Combine(_baseDir, ".build", "nuget.3.5.0-rc1.exe");
var nugetPath = Path.Combine(_baseDir, ".build", "nuget.3.5.0.exe");
if (File.Exists(nugetPath))
{
return nugetPath;
}
Console.WriteLine("log : Downloading nuget.exe 3.5.0-rc1".Bold().Black());
var response = await new HttpClient().GetAsync("https://dist.nuget.org/win-x86-commandline/v3.5.0-rc1/NuGet.exe");
Console.WriteLine("log : Downloading nuget.exe 3.5.0".Bold().Black());
var response = await new HttpClient().GetAsync("https://dist.nuget.org/win-x86-commandline/v3.5.0/NuGet.exe");
using (var file = new FileStream(nugetPath, FileMode.CreateNew))
{
response.EnsureSuccessStatusCode();