Skip to content

Commit

Permalink
[nuget] Update to 4.4.0 (was 4.3.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Oct 17, 2017
1 parent 508c21a commit e9ba8b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions scripts/fetchDependency.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions toolsrc/src/vcpkg/vcpkgpaths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9ba8b0

Please sign in to comment.