aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-10-17 14:19:48 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-10-17 14:19:48 -0700
commite9ba8b0ecbe5c49cda2710acaae0983dfe2552f9 (patch)
tree215795866639e041aedfa851366120272c0726c8
parent508c21a6f8dece3c2793b302a926d1e663eb8526 (diff)
downloadvcpkg-e9ba8b0ecbe5c49cda2710acaae0983dfe2552f9.tar.gz
vcpkg-e9ba8b0ecbe5c49cda2710acaae0983dfe2552f9.zip
[nuget] Update to 4.4.0 (was 4.3.0)
-rw-r--r--scripts/fetchDependency.ps18
-rw-r--r--toolsrc/src/vcpkg/vcpkgpaths.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1
index 1677cb869..df03878eb 100644
--- a/scripts/fetchDependency.ps1
+++ b/scripts/fetchDependency.ps1
@@ -138,11 +138,11 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency)
}
elseif($Dependency -eq "nuget")
{
- $requiredVersion = "4.3.0"
- $downloadVersion = "4.3.0"
- $url = "https://dist.nuget.org/win-x86-commandline/v4.3.0/nuget.exe"
+ $requiredVersion = "4.4.0"
+ $downloadVersion = "4.4.0"
+ $url = "https://dist.nuget.org/win-x86-commandline/v4.4.0/nuget.exe"
$downloadPath = "$downloadsDir\nuget-$downloadVersion\nuget.exe"
- $expectedDownloadedFileHash = "386da77a8cf2b63d1260b7020feeedabfe3b65ab31d20e6a313a530865972f3a"
+ $expectedDownloadedFileHash = "2cf9b118937eef825464e548f0c44f7f64090047746de295d75ac3dcffa3e1f6"
$executableFromDownload = $downloadPath
$extractionType = $ExtractionType_NO_EXTRACTION_REQUIRED
}
diff --git a/toolsrc/src/vcpkg/vcpkgpaths.cpp b/toolsrc/src/vcpkg/vcpkgpaths.cpp
index 8da718e87..34c661afd 100644
--- a/toolsrc/src/vcpkg/vcpkgpaths.cpp
+++ b/toolsrc/src/vcpkg/vcpkgpaths.cpp
@@ -131,9 +131,9 @@ namespace vcpkg
fs::path get_nuget_path(const fs::path& downloads_folder, const fs::path& scripts_folder)
{
- static constexpr std::array<int, 3> EXPECTED_VERSION = {4, 3, 0};
+ static constexpr std::array<int, 3> EXPECTED_VERSION = {4, 4, 0};
- const fs::path downloaded_copy = downloads_folder / "nuget-4.3.0" / "nuget.exe";
+ const fs::path downloaded_copy = downloads_folder / "nuget-4.4.0" / "nuget.exe";
const std::vector<fs::path> from_path = Files::find_from_PATH("nuget");
std::vector<fs::path> candidate_paths;