Skip to content

Commit f09be27

Browse files
committed
Generate MD5 hashes on release
1 parent fff0310 commit f09be27

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

ci/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,19 @@ stages:
323323
workingDirectory: $(Pipeline.Workspace)
324324
displayName: 'Download PuTTY binaries'
325325
326+
- powershell: |
327+
$files = gci -File * -EA SilentlyContinue
328+
$hashes = $files | `
329+
Sort-Object Name | `
330+
Format-Table Name, @{
331+
Label="MD5";
332+
Expression={(Get-FileHash $_ -Algorithm MD5).Hash}
333+
}, Length -AutoSize | `
334+
Out-String -Width 4096
335+
$hashes
336+
workingDirectory: $(DIST_DIR)
337+
displayName: 'Generate hashes (MD5)'
338+
326339
- ${{ if ne(parameters.PublishAppinstaller, 'true') }}:
327340
- powershell: |
328341
"Not uploading these files:"

0 commit comments

Comments
 (0)