Skip to content

Commit

Permalink
fix checksum signing (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky White authored Jan 17, 2024
1 parent d2a9f79 commit f1b4412
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,17 @@ jobs:
done
- name: Create checksums
run: shasum -a 256 *-${{ github.ref_name }}_*_* >| checksums.txt
run: |
shasum -a 256 *-${{ github.ref_name }}_*_* >| checksums.txt
file *-${{ github.ref_name }}_*_* checksums.txt
- name: Sign checksums
run: |
gpg --batch --yes --detach-sign --armor \
GPG_TTY=$(tty) gpg -vvv --batch --yes --detach-sign --armor \
--local-user "${{ secrets.GPG_FINGERPRINT }}" \
--output checksums.txt.sig \
--passphrase "${{ secrets.GPG_PASSPHRASE }}" \
--output checksums.txt.sig checksums.txt
--pinentry-mode loopback checksums.txt
- name: Create release
env:
Expand Down

0 comments on commit f1b4412

Please sign in to comment.