зеркало из https://github.com/aspnet/KoreBuild.git
Pin the version of NuGet.exe to a version that supports serviceable attribute
This commit is contained in:
Родитель
01867a780a
Коммит
6b6c565127
|
@ -63,7 +63,7 @@ if (!(Test-Path "$koreBuildFolder\Sake"))
|
|||
# Rename the project after restore because we don't want it to be restore afterwards
|
||||
mv "$toolsProject" "$toolsProject.norestore"
|
||||
# We still nuget because dotnet doesn't have support for pushing packages
|
||||
Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "$koreBuildFolder/nuget.exe"
|
||||
Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v3.5.0-beta2/NuGet.exe" -OutFile "$koreBuildFolder/nuget.exe"
|
||||
}
|
||||
|
||||
$makeFilePath = "makefile.shade"
|
||||
|
|
|
@ -83,7 +83,7 @@ fi
|
|||
|
||||
nugetPath="$koreBuildFolder/nuget.exe"
|
||||
if [ ! -f $nugetPath ]; then
|
||||
nugetUrl="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
|
||||
nugetUrl="https://dist.nuget.org/win-x86-commandline/v3.5.0-beta2/NuGet.exe"
|
||||
wget -O $nugetPath $nugetUrl 2>/dev/null || curl -o $nugetPath --location $nugetUrl 2>/dev/null
|
||||
fi
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче