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 14d36d5 commit 65680ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/after-signature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
echo "::set-output name=draft_release_id::$($draft_release.id)"
echo "::set-output name=draft_tag_name::$($draft_release.name)"
echo "::set-output name=draft_tag::$($draft_release.tag_name)"
- name: Download Release Assets
uses: robinraju/[email protected]
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
"sha512: ${{ steps.compute_hash.outputs.sha512 }}"
} elseif ($_ -match '^\s*sha512:\s.*$') {
" sha512: ${{ steps.compute_hash.outputs.sha512 }}"
} elseif ($_ -notmatch '^size:\s.*$') {
} elseif ($_ -notmatch '^\s*size:\s.*$') {
$_
}
} | Set-Content -Path latest.yml
Expand All @@ -105,7 +106,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: latest.yml
tag: ${{steps.find_draft.outputs.draft_tag_name}}
tag: ${{steps.find_draft.outputs.draft_tag}}
draft: true
overwrite: true

Expand Down

0 comments on commit 65680ff

Please sign in to comment.