swh:1:snp:9c27352633c4639a943e316050a7b904f57900e2
Raw File
Tip revision: fe7ad22bb307458bed33fadf29bd8297b3e8e6f2 authored by Victor Allombert on 02 December 2019, 17:25:23 UTC
Merge branch 'vicall@lock_reconstruction' into 'master'
Tip revision: fe7ad22
check_patch.sh
#! /bin/sh

set -e

if [ $1 != "zeronet" ] && [ $1 != "alphanet" ] ; then
    echo Ignored
    exit 0
fi

if git log | grep "net: change economic constants" >/dev/null 2>&1 ; then
    echo OK
    exit 0
fi

cat <<EOF

The branch $1 should include the constant patch.
Please run './scripts/apply-patch.sh $1'.

EOF

exit 1
back to top