Skip to content

Commit 4f1a410

Browse files
committed
Debug release workflow
1 parent ff3d028 commit 4f1a410

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/package.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ jobs:
267267
throw "tar verify failed: $PSModuleTarFilePath is invalid."
268268
}
269269
270+
$psModuleArchiveHash = (Get-FileHash -Path "$PSModuleTarFilePath").Hash
271+
Write-Host "PS module archive hash: $psModuleArchiveHash"
272+
270273
Set-PSDebug -Off # Too many traces are logged when running New-ModulePackage.
271274
New-ModulePackage $DGatewayPSModulePath $PSModuleParentPath
272275

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ jobs:
171171
tar -xvzf $WebAppArchive.FullName -C $TargetPath --strip-components=1
172172
173173
$PowerShellArchive = Get-ChildItem -Recurse -Filter "DevolutionsGateway-ps-*.tar" | Select-Object -First 1
174+
$psModuleArchiveHash = (Get-FileHash -Path "$PowerShellArchive").Hash
175+
Write-Host "PS module archive hash: $psModuleArchiveHash"
174176
tar -xvf "$PowerShellArchive" -C "$PkgDir"
175177
176178
- name: Build container

0 commit comments

Comments
 (0)