Update ExtractCompressNuGet.ps1
Add in the powershell hack to NuGet's generated work on the Mac.
This commit is contained in:
Родитель
88d2a75b38
Коммит
95b45b0ff0
|
@ -10,6 +10,10 @@ param
|
|||
)
|
||||
pushd $path
|
||||
|
||||
# Download temporary version of Archive module that fixes issue on macOS/Linux with path separator
|
||||
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/PowerShell/Microsoft.PowerShell.Archive/master/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1" -OutFile .\archive.psm1
|
||||
Import-Module .\archive.psm1
|
||||
|
||||
[int]$itemsProcessed = 0
|
||||
if ($extract) {
|
||||
# Extract .nupkg packages in the path.
|
||||
|
|
Загрузка…
Ссылка в новой задаче