Browse Source

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: https://github.com/nodejs/node/pull/13309
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
v4.x-staging
Myles Borins 8 years ago
parent
commit
8c9f1b3474
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      tools/release.sh

2
tools/release.sh

@ -20,7 +20,7 @@ signcmd=dist-sign
echo "# Selecting GPG key ..."
gpgkey=$(gpg --list-secret-keys | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
gpgkey=$(gpg --list-secret-keys --keyid-format SHORT | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
keycount=$(echo $gpgkey | wc -w)
if [ $keycount -eq 0 ]; then

Loading…
Cancel
Save