Skip to content

Commit 8c9f1b3

Browse files
committed
tools: be explicit about including key-id
gpg 2.1 no longer includes the key-id by default which breaks the release script. This makes sure we are explicit about it. PR-URL: #13309 Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 40fb0da commit 8c9f1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ signcmd=dist-sign
2020

2121
echo "# Selecting GPG key ..."
2222

23-
gpgkey=$(gpg --list-secret-keys | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
23+
gpgkey=$(gpg --list-secret-keys --keyid-format SHORT | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
2424
keycount=$(echo $gpgkey | wc -w)
2525

2626
if [ $keycount -eq 0 ]; then

0 commit comments

Comments
 (0)