Fix deps.json update in the release pipeline (#15486)

This commit is contained in:
Dongbo Wang
2021-06-03 12:22:04 -07:00
committed by GitHub
parent 1ba2960f5c
commit 13afd522ed
@@ -45,7 +45,8 @@ jobs:
displayName: Determine container name
- pwsh: |
$zipFile = (Get-Item "$ENV:PIPELINE_WORKSPACE/releasePipeline/finalResults/PowerShell*-win-x64.zip")
$zipFile = Get-Item "$ENV:PIPELINE_WORKSPACE/releasePipeline/finalResults/PowerShell*-win-x64.zip" -Exclude *-symbols-*
Write-Verbose -Verbose "zipFile: $zipFile"
Expand-Archive -Path $zipFile -Destination "$ENV:PIPELINE_WORKSPACE/expanded"
$pwshDepsFile = Get-Item "$ENV:PIPELINE_WORKSPACE/expanded/pwsh.deps.json"