From d4e150284eb133f6b764887048ec3017da65a4e8 Mon Sep 17 00:00:00 2001 From: Connect API Specification Generator Date: Wed, 7 Feb 2018 01:58:41 +0000 Subject: [PATCH] Release 2.5.2 --- .travis.yml | 2 +- build.bat | 2 +- build.sh | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 140d659..9b39783 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ mono: solution: Square.Connect.sln install: - - wget -nc https://nuget.org/nuget.exe; + - wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe; - openssl aes-256-cbc -K $encrypted_71f1b33fe68c_key -iv $encrypted_71f1b33fe68c_iv -in ./travis-ci/accounts.enc -out ./travis-ci/accounts.json -d script: diff --git a/build.bat b/build.bat index e639474..76db562 100644 --- a/build.bat +++ b/build.bat @@ -5,7 +5,7 @@ SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319 -if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://nuget.org/nuget.exe', '.\nuget.exe')" +if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://dist.nuget.org/win-x86-commandline/latest/nuget.exe', '.\nuget.exe')" .\nuget.exe install src\Square.Connect\packages.config -o packages if not exist ".\bin" mkdir bin diff --git a/build.sh b/build.sh index 5571ee9..4038d32 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ then echo "wget is either not installed on thie system or is"\ "unavailable through the \$PATH." while true; do - printf "Install it by [ curl -sSL https://nuget.org/nuget.exe ]? [y/N] " + printf "Install it by [ curl -sSL https://dist.nuget.org/win-x86-commandline/latest/nuget.exe ]? [y/N] " read -r yn case "$yn" in [Yy]* ) break;; @@ -21,9 +21,9 @@ then '' ) exit;; esac done - curl -sSL https://nuget.org/nuget.exe -o nuget.exe; + curl -sSL https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -o nuget.exe; else - wget -nc https://nuget.org/nuget.exe; + wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe; fi mozroots --import --sync