Fix syntax error in Windows packaging script (#14377)
# Conflicts: # tools/releaseBuild/azureDevOps/templates/windows-packaging.yml
This commit is contained in:
parent
54ff9c67d9
commit
88478d66e6
|
@ -124,13 +124,16 @@ jobs:
|
|||
"$($fullSymbolsFolder)\System.Management.Automation.dll" = ""
|
||||
}
|
||||
|
||||
$itemsToExclude = @(
|
||||
)
|
||||
|
||||
if ("$env:Architecture" -notlike 'fxdependent*')
|
||||
{
|
||||
$itemsToCopy += @{"$($fullSymbolsFolder)\pwsh.exe" = ""}
|
||||
}
|
||||
|
||||
Write-Verbose -verbose "recusively copying $($itemsToCopyWithRecurse | out-string) to $filesToSignDirectory"
|
||||
Copy-Item -Path $itemsToCopyWithRecurse -Destination $filesToSignDirectory -Recurse -verbose
|
||||
Copy-Item -Path $itemsToCopyWithRecurse -Destination $filesToSignDirectory -Recurse -verbose -exclude $itemsToExclude
|
||||
|
||||
foreach($pattern in $itemsToCopy.Keys) {
|
||||
$destinationFolder = Join-Path $filesToSignDirectory -ChildPath $itemsToCopy.$pattern
|
||||
|
|
Loading…
Reference in a new issue