mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user