X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=devel%2Frelease-checks.sh;h=efd0b3441f2e9aecd7398cf941c1156eec77ff0d;hb=edb485e0b93d0c6b82933708b309d1105bf8d63c;hp=ae02f557af23bda8488035367d2ae8eae5f95bb6;hpb=2bb906a6dd21fe109cc921590a512c1af7ff150d;p=notmuch diff --git a/devel/release-checks.sh b/devel/release-checks.sh index ae02f557..efd0b344 100755 --- a/devel/release-checks.sh +++ b/devel/release-checks.sh @@ -59,6 +59,17 @@ readonly VERSION # In the rest of this file, tests collect list of errors to be fixed +echo -n "Checking that git working directory is clean... " +git_status=`git status --porcelain` +if [ "$git_status" = '' ] +then + echo Yes. +else + echo No. + append_emsg "Git working directory is not clean (git status --porcelain)." +fi +unset git_status + verfail () { echo No.