Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor: Simplify and improve readability
[releng/global-jjb.git]
/
shell
/
gpg-verify-git-signature.sh
diff --git
a/shell/gpg-verify-git-signature.sh
b/shell/gpg-verify-git-signature.sh
index
9970fcc
..
20bb745
100644
(file)
--- a/
shell/gpg-verify-git-signature.sh
+++ b/
shell/gpg-verify-git-signature.sh
@@
-11,9
+11,9
@@
echo "---> gpg-verify-git-signature.sh"
if git log --show-signature -1 | grep -E -q 'gpg: Signature made.*key ID'; then
echo "---> gpg-verify-git-signature.sh"
if git log --show-signature -1 | grep -E -q 'gpg: Signature made.*key ID'; then
- echo "Git commit is GPG signed."
+
echo "Git commit is GPG signed."
else
else
- echo "WARNING: GPG signature missing for the commit."
+
echo "WARNING: GPG signature missing for the commit."
fi
# Do NOT fail the job for unsigned commits
fi
# Do NOT fail the job for unsigned commits