From 6237d4072d2499d961b3e84eee381ae99fb65b6e Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 30 May 2017 14:47:23 -0400 Subject: [PATCH] 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. --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 1151b6dd68d510..988a2c19b6d39d 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