diff --git a/scripts/cake-bootstrap.ps1 b/scripts/cake-bootstrap.ps1 index 4656e051f7..3fc0e6383a 100644 --- a/scripts/cake-bootstrap.ps1 +++ b/scripts/cake-bootstrap.ps1 @@ -47,7 +47,7 @@ Write-Host "Preparing to run build script..." $PS_SCRIPT_ROOT = split-path -parent $MyInvocation.MyCommand.Definition; $TOOLS_DIR = Join-Path $PSScriptRoot "..\.tools" $NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe" -$NUGET_URL = "http://dist.nuget.org/win-x86-commandline/latest/nuget.exe" +$NUGET_URL = "https://dist.nuget.org/win-x86-commandline/v3.3.0/nuget.exe" $CAKE_EXE = Join-Path $TOOLS_DIR "Cake/Cake.exe" $PACKAGES_CONFIG = Join-Path $TOOLS_DIR "packages.config" diff --git a/scripts/cake-bootstrap.sh b/scripts/cake-bootstrap.sh index a712051bcb..5e3d020080 100644 --- a/scripts/cake-bootstrap.sh +++ b/scripts/cake-bootstrap.sh @@ -38,7 +38,7 @@ fi # Download NuGet if it does not exist. if [ ! -f "$NUGET_EXE" ]; then echo "Downloading NuGet..." - curl -Lsfo "$NUGET_EXE" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe + curl -Lsfo "$NUGET_EXE" https://dist.nuget.org/win-x86-commandline/v3.3.0/nuget.exe if [ $? -ne 0 ]; then echo "An error occured while downloading nuget.exe." exit 1