File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,12 +471,13 @@ jobs:
471471 $PSModuleName = "DevolutionsGateway"
472472 $PSModuleVersion = "${{ needs.preflight.outputs.version }}"
473473 $PSModuleOutputPath = Join-Path "powershell" "package" $PSModuleName
474+ Write-Host "PSModuleOutputPath = $PSModuleOutputPath"
474475 $PSStagingPath = Join-Path "powershell-staging" "PowerShell"
475476 Write-Host "PSStagingPath = $PSStagingPath"
476477 New-Item -Path $PSStagingPath -ItemType Directory | Out-Null
477478 $PSModuleTarFilePath = Join-Path $PSStagingPath "$PSModuleName-ps-$PSModuleVersion.tar"
478479 Write-Host "PSModuleTarFilePath = $PSModuleTarFilePath"
479- tar -cvf "$PSModuleTarFilePath" -C "$PSModuleOutputPath" .
480+ tar -cvf "$PSModuleTarFilePath" -C "$PSModuleOutputPath"
480481
481482 - name : Pester tests
482483 shell : pwsh
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ jobs:
254254 # Maybe because of the double compression via the upload-artifact action?
255255 # With a tarball archive, there is no problem.
256256 Write-Host "Recreate archive at "$PSModuleTarFilePath""
257- tar -cvf "$PSModuleTarFilePath" -C "$DGatewayPSModulePath" .
257+ tar -cvf "$PSModuleTarFilePath" -C "$DGatewayPSModulePath"
258258
259259 # Verify the the archive by extracting it to /dev/null.
260260 Write-Host "Verify archive at "$PSModuleTarFilePath""
You can’t perform that action at this time.
0 commit comments