Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules (#9650)

* Build(deps): Bump PackageManagement from 1.3.2 to 1.4 in /src/Modules

Bumps PackageManagement from 1.3.2 to 1.4.

Signed-off-by: dependabot[bot] <support@dependabot.com>
This commit is contained in:
dependabot[bot] 2019-05-21 17:36:17 -07:00 committed by Travis Plunk
parent 24c800f07c
commit 9c8cdb50f6
2 changed files with 5 additions and 2 deletions

View file

@ -2250,6 +2250,9 @@ function Copy-PSGalleryModules
# Remove the build revision from the src (nuget drops it).
$srcVer = if ($version -match "(\d+.\d+.\d+).0") {
$matches[1]
} elseif ($version -match "^\d+.\d+$") {
# Two digit versions are stored as three digit versions
"$version.0"
} else {
$version
}
@ -2262,7 +2265,7 @@ function Copy-PSGalleryModules
New-Item -Path $dest -ItemType Directory -Force -ErrorAction Stop > $null
# Exclude files/folders that are not needed. The fullclr folder is coming from the PackageManagement module
$dontCopy = '*.nupkg', '*.nupkg.metadata', '*.nupkg.sha512', '*.nuspec', 'System.Runtime.InteropServices.RuntimeInformation.dll', 'fullclr'
Copy-Item -Exclude $dontCopy -Recurse $src/* $dest
Copy-Item -Exclude $dontCopy -Recurse $src/* $dest -ErrorAction Stop
}
}

View file

@ -4,7 +4,7 @@
<ItemGroup>
<PackageReference Include="PowerShellGet" Version="2.1.3" />
<PackageReference Include="PackageManagement" Version="1.3.2" />
<PackageReference Include="PackageManagement" Version="1.4" />
<PackageReference Include="Microsoft.PowerShell.Archive" Version="1.2.3.0" />
<PackageReference Include="PSReadLine" Version="2.0.0-beta4" />
<PackageReference Include="ThreadJob" Version="1.1.2" />