diff --git a/utils/publish-rpm.sh b/utils/publish-rpm.sh index 2ba12e4fd..e8f884b85 100755 --- a/utils/publish-rpm.sh +++ b/utils/publish-rpm.sh @@ -39,6 +39,7 @@ func_gpg_key_load() { # ${2} gpg key passphrase gpg --import --pinentry-mode loopback --batch --passphrase-file "${2}" "${1}" + gpg --list-keys --fingerprint gpg --list-keys --fingerprint | grep "${GPG_MAIL}" -B 1 gpg --list-keys --fingerprint | grep "${GPG_MAIL}" -B 1 | tr -d ' ' | gpg --list-keys --fingerprint | grep "${GPG_MAIL}" -B 1 | tr -d ' ' | head -1