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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"