Merge "Fix yamllint for atrium"
[releng/builder.git] / jjb / include-raw-verify-gpg-signatures.sh
1 #!/bin/bash
2
3 git log --show-signature -1 | egrep -q 'gpg: Signature made.*key ID'
4 if [ $? -eq 0 ]; then
5    echo "git commit is gpg signed"
6 else
7    echo "WARNING: gpg signature missing for the commit"
8 fi
9
10 # Don't fail the job for unsigned commits
11 exit 0