mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
fix(release): only hash executables
This commit is contained in:
parent
7b5572e73c
commit
d477923f16
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue