File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -467,17 +467,22 @@ jobs:
467467 - name : Build module
468468 shell : pwsh
469469 run : |
470+ $PSModuleVersion = "${{ needs.preflight.outputs.version }}"
471+
470472 ./powershell/build.ps1
473+
471474 $PSModuleName = "DevolutionsGateway"
472- $PSModuleVersion = "${{ needs.preflight.outputs.version }} "
473- $PSModuleOutputPath = Join-Path "powershell" "package" $PSModuleName
474- Write-Host "PSModuleOutputPath = $PSModuleOutputPath"
475+ $PSModuleParentPath = Join-Path "powershell" "package "
476+ Write-Host "PSModuleOutputPath = $PSModuleParentPath"
477+
475478 $PSStagingPath = Join-Path "powershell-staging" "PowerShell"
476479 Write-Host "PSStagingPath = $PSStagingPath"
477480 New-Item -Path $PSStagingPath -ItemType Directory | Out-Null
481+
478482 $PSModuleTarFilePath = Join-Path $PSStagingPath "$PSModuleName-ps-$PSModuleVersion.tar"
479483 Write-Host "PSModuleTarFilePath = $PSModuleTarFilePath"
480- tar -cvf "$PSModuleTarFilePath" -C "$PSModuleOutputPath" "$PSModuleName"
484+
485+ tar -cvf "$PSModuleTarFilePath" -C "$PSModuleParentPath" "$PSModuleName"
481486
482487 - name : Pester tests
483488 shell : pwsh
You can’t perform that action at this time.
0 commit comments