mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -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
|
Compress-Archive @compress
|
||||||
- name: Add hashes 🤫
|
- name: Add hashes 🤫
|
||||||
run: |
|
run: |
|
||||||
Get-ChildItem ./dist -Exclude *.yaml | Get-Unique |
|
Get-ChildItem ./dist -Exclude *.yaml,*.sig | Get-Unique |
|
||||||
Foreach-Object {
|
Foreach-Object {
|
||||||
$zipHash = Get-FileHash $_.FullName -Algorithm SHA256
|
$zipHash = Get-FileHash $_.FullName -Algorithm SHA256
|
||||||
$zipHash.Hash | Out-File -Encoding 'UTF8' "./dist/$($_.Name).sha256"
|
$zipHash.Hash | Out-File -Encoding 'UTF8' "./dist/$($_.Name).sha256"
|
||||||
|
|
Loading…
Reference in a new issue