Code Review
/
releng
/
builder.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4e1b294b7c96480e8398a8db604cdf6ffc1d604a
[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