Merge "Migrate autorelease jobs to lf-infra-publish"
[releng/builder.git] / jjb / include-raw-verify-gpg-signatures.sh
index 4e1b294b7c96480e8398a8db604cdf6ffc1d604a..5975b744fc25edc7d520655e9767e384ccb44110 100644 (file)
@@ -1,7 +1,6 @@
 #!/bin/bash
 
-git log --show-signature -1 | egrep -q 'gpg: Signature made.*key ID'
-if [ $? -eq 0 ]; then
+if git log --show-signature -1 | egrep -q 'gpg: Signature made.*key ID'; then
    echo "git commit is gpg signed"
 else
    echo "WARNING: gpg signature missing for the commit"