Skip to content

Commit bccda4f

Browse files
MylesBorinsjasnell
authored andcommitted
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 7f0aa3f commit bccda4f

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)