[blog] 01/01: bin/publish.sh: Don't publish with FIXME statements.

Chris Lamb chris at chris-lamb.co.uk
Tue Oct 10 09:45:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository blog.

commit c6edec787430cf68f4803d67bbe45a9265913544
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Oct 10 10:45:27 2017 +0100

    bin/publish.sh: Don't publish with FIXME statements.
---
 bin/publish.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/publish.sh b/bin/publish.sh
index 67fdccd..1cea88a 100755
--- a/bin/publish.sh
+++ b/bin/publish.sh
@@ -87,6 +87,9 @@ elif $DRYRUN ; then
 	echo
 	echo "Please review the guessed tags."
 	exit 0
+elif grep -qs FIXME $DRAFT ; then
+	echo "$DRAFT contains FIXME statements; refusing to publish."
+	exit 1
 fi
 
 if $EDIT ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/blog.git



More information about the Reproducible-commits mailing list