File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -131,20 +131,24 @@ jobs:
131131 }
132132
133133 $pkgNameFilter = "powershell-*$macosRuntime.pkg"
134- $pkgPath = Get-ChildItem -Path $(Pipeline.Workspace) -Filter $pkgNameFilter -Recurse -File | Select-Object -ExpandProperty FullName
134+ $pkgPath = Get-ChildItem -Path $(Pipeline.Workspace) -Filter $pkgNameFilter -Recurse -File
135135
136136 foreach($p in $pkgPath) {
137- Write-Host "##vso[artifact.upload containerfolder=macos-pkgs;artifactname=macos-pkgs]$p"
137+ $file = $p.FullName
138+ Write-Verbose -verbose "Uploading $file to macos-pkgs"
139+ Write-Host "##vso[artifact.upload containerfolder=macos-pkgs;artifactname=macos-pkgs]$file"
138140 }
139141
140142 Write-Host "##vso[artifact.upload containerfolder=macos-pkgs;artifactname=macos-pkgs]$pkgPath"
141143
142144 Start-PSPackage -Type tar -SkipReleaseChecks -MacOSRuntime $macosRuntime -ReleaseTag $(ReleaseTagVar) -PackageBinPath $signedFilesPath -LTS:$LTS
143145 $tarPkgNameFilter = "powershell-*$macosRuntime.tar.gz"
144- $tarPkgPath = Get-ChildItem -Path $(Pipeline.Workspace) -Filter $tarPkgNameFilter -Recurse -File | Select-Object -ExpandProperty FullName
146+ $tarPkgPath = Get-ChildItem -Path $(Pipeline.Workspace) -Filter $tarPkgNameFilter -Recurse -File
145147
146148 foreach($t in $tarPkgPath) {
147- Write-Host "##vso[artifact.upload containerfolder=macos-pkgs;artifactname=macos-pkgs]$t"
149+ $file = $p.FullName
150+ Write-Verbose -verbose "Uploading $file to macos-pkgs"
151+ Write-Host "##vso[artifact.upload containerfolder=macos-pkgs;artifactname=macos-pkgs]$file"
148152 }
149153
150154 displayName: 'Package ${{ parameters.buildArchitecture}}'
You can’t perform that action at this time.
0 commit comments