mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
* docker container definitions for package building * cmake targets for building packages * initial gitlab CI + artifactory integration
17 lines
489 B
Bash
17 lines
489 B
Bash
#!/usr/bin/env sh
|
|
set -ex
|
|
apt -y update
|
|
apt -y install software-properties-common curl git gnupg
|
|
curl -sk -o rippled-pubkeys.txt "${GIT_SIGN_PUBKEYS_URL}"
|
|
gpg --import rippled-pubkeys.txt
|
|
if git verify-commit HEAD; then
|
|
echo "git commit signature check passed"
|
|
else
|
|
echo "git commit signature check failed"
|
|
git log -n 5 --color
|
|
--pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an> [%G?]%Creset'
|
|
--abbrev-commit
|
|
exit 1
|
|
fi
|
|
|