Fix packaging on CI
This commit is contained in:
parent
fcd6764cd1
commit
217dab2016
|
|
@ -146,15 +146,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());
|
||||
Console.WriteLine("log : Downloading nuget.exe 3.5.0");
|
||||
|
||||
var response = await new HttpClient().GetAsync("https://dist.nuget.org/win-x86-commandline/v3.5.0-rc1/NuGet.exe");
|
||||
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();
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"dependencies": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"type": "platform",
|
||||
"version": "1.0.1"
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121",
|
||||
"Microsoft.DotNet.Cli.Utils": "1.0.0-preview2-003121",
|
||||
|
|
|
|||
Loading…
Reference in New Issue