diff options
author | Myles Borins <mylesborins@google.com> | 2017-05-30 14:47:23 -0400 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-06-01 16:07:18 -0700 |
commit | b7d143842cbf6bf34a09d73763c2d011f7f5b164 (patch) | |
tree | 448d733ffe7bcda8b818e30a206f85ea8f464f47 /tools/release.sh | |
parent | 26ab769940e59646386bd15bbafb9378b8b56aed (diff) | |
download | node-new-b7d143842cbf6bf34a09d73763c2d011f7f5b164.tar.gz |
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/release.sh')
-rwxr-xr-x | tools/release.sh | 2 |
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 |