Skip to content

Commit

Permalink
Update after signature script
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebouget committed Nov 14, 2024
1 parent f7d3abb commit f13a350
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/after-signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ jobs:
# Update sha512 hash and remove size attribute in latest.yml
(Get-Content -Path latest.yml) |
ForEach-Object {
if ($_ -match '^\s*sha512:\s.*$') {
if ($_ -match '^sha512:\s.*$') {
"sha512: ${{ steps.compute_hash.outputs.sha512 }}"
elseif ($_ -match '^\s*sha512:\s.*$') {
"sha512: ${{ steps.compute_hash.outputs.sha512 }}"
} elseif ($_ -notmatch '^size:\s.*$') {
$_
}
Expand Down

0 comments on commit f13a350

Please sign in to comment.