fix(release): only hash executables

This commit is contained in:
Jan De Dobbeleer 2021-12-03 13:51:35 +01:00
parent 7b5572e73c
commit d477923f16
Failed to extract signature

View file

@ -77,7 +77,7 @@ jobs:
Compress-Archive @compress
- name: Add hashes 🤫
run: |
Get-ChildItem ./dist -Exclude *.yaml | Get-Unique |
Get-ChildItem ./dist -Exclude *.yaml,*.sig | Get-Unique |
Foreach-Object {
$zipHash = Get-FileHash $_.FullName -Algorithm SHA256
$zipHash.Hash | Out-File -Encoding 'UTF8' "./dist/$($_.Name).sha256"