Skip to content

Commit f1b4412

Browse files
author
Ricky White
authored
fix checksum signing (#45)
1 parent d2a9f79 commit f1b4412

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,17 @@ jobs:
6868
done
6969
7070
- name: Create checksums
71-
run: shasum -a 256 *-${{ github.ref_name }}_*_* >| checksums.txt
71+
run: |
72+
shasum -a 256 *-${{ github.ref_name }}_*_* >| checksums.txt
73+
file *-${{ github.ref_name }}_*_* checksums.txt
7274
7375
- name: Sign checksums
7476
run: |
75-
gpg --batch --yes --detach-sign --armor \
77+
GPG_TTY=$(tty) gpg -vvv --batch --yes --detach-sign --armor \
7678
--local-user "${{ secrets.GPG_FINGERPRINT }}" \
79+
--output checksums.txt.sig \
7780
--passphrase "${{ secrets.GPG_PASSPHRASE }}" \
78-
--output checksums.txt.sig checksums.txt
81+
--pinentry-mode loopback checksums.txt
7982
8083
- name: Create release
8184
env:

0 commit comments

Comments
 (0)