From 3f11677c0659b3740fcc8b0e62a97dfcc8d70d23 Mon Sep 17 00:00:00 2001
From: Moritz Schubotz <wiki@physikerwelt.de>
Date: Sat, 17 Nov 2018 20:29:22 +0100
Subject: [PATCH] Fail build on invalid bib file

---
 support/compile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/compile.sh b/support/compile.sh
index aa1f718..8233427 100755
--- a/support/compile.sh
+++ b/support/compile.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 biber --tool --configfile=src/biber/reformat.xml gipp.bib --validate-datamodel
-diff -w gipp.bib gipp_bibertool.bib || support/commitUp.sh
+diff -w gipp.bib gipp_bibertool.bib || support/commitUp.sh && exit 1
 cd src/tex
 latexmk
 cp allRefs.pdf ../../main.pdf
-- 
GitLab