Skip to content

Commit e19f728

Browse files
committed
Always generate hashes
1 parent f09be27 commit e19f728

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ci/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,19 @@ stages:
309309
Get-AppxPackage PythonSoftwareFoundation.PythonManager | Remove-AppxPackage
310310
displayName: 'Remove MSIX'
311311
312+
- powershell: |
313+
$files = gci -File * -EA SilentlyContinue
314+
$hashes = $files | `
315+
Sort-Object Name | `
316+
Format-Table Name, @{
317+
Label="MD5";
318+
Expression={(Get-FileHash $_ -Algorithm MD5).Hash}
319+
}, Length -AutoSize | `
320+
Out-String -Width 4096
321+
$hashes
322+
workingDirectory: $(DIST_DIR)
323+
displayName: 'Generate hashes (MD5)'
324+
312325
- ${{ if eq(parameters.Publish, 'true') }}:
313326
- ${{ if eq(parameters.Sign, 'true') }}:
314327
- task: DownloadSecureFile@1
@@ -323,19 +336,6 @@ stages:
323336
workingDirectory: $(Pipeline.Workspace)
324337
displayName: 'Download PuTTY binaries'
325338
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-
339339
- ${{ if ne(parameters.PublishAppinstaller, 'true') }}:
340340
- powershell: |
341341
"Not uploading these files:"

0 commit comments

Comments
 (0)