summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2017-05-30 14:47:23 -0400
committerJames M Snell <jasnell@gmail.com>2017-06-01 16:07:18 -0700
commitb7d143842cbf6bf34a09d73763c2d011f7f5b164 (patch)
tree448d733ffe7bcda8b818e30a206f85ea8f464f47 /tools
parent26ab769940e59646386bd15bbafb9378b8b56aed (diff)
downloadandroid-node-v8-b7d143842cbf6bf34a09d73763c2d011f7f5b164.tar.gz
android-node-v8-b7d143842cbf6bf34a09d73763c2d011f7f5b164.tar.bz2
android-node-v8-b7d143842cbf6bf34a09d73763c2d011f7f5b164.zip
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/release.sh b/tools/release.sh
index 1151b6dd68..988a2c19b6 100755
--- a/tools/release.sh
+++ b/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