We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62fb941 commit fd5c566Copy full SHA for fd5c566
tools/release.sh
@@ -20,7 +20,7 @@ signcmd=dist-sign
20
21
echo "# Selecting GPG key ..."
22
23
-gpgkey=$(gpg --list-secret-keys | grep '^sec' | awk -F'( +|/)' '{print $3}')
+gpgkey=$(gpg --list-secret-keys | awk -F'( +|/)' '/^(sec|ssb)/{print $3}')
24
keycount=$(echo $gpgkey | wc -w)
25
26
if [ $keycount -eq 0 ]; then
0 commit comments