From f7c63730d57e2cf6647ff5ac8b3d88d19b05f8e3 Mon Sep 17 00:00:00 2001 From: "Moritz Schubotz (physikerwelt)" <wiki@physikerwelt.de> Date: Thu, 15 Nov 2018 21:52:24 +0100 Subject: [PATCH] Add correction script --- support/commitUp.sh | 6 ++++++ support/compile.sh | 2 ++ 2 files changed, 8 insertions(+) create mode 100755 support/commitUp.sh diff --git a/support/commitUp.sh b/support/commitUp.sh new file mode 100755 index 0000000..84448ee --- /dev/null +++ b/support/commitUp.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +mv gipp_bibertool.bib gipp.bib +git config --global user.email "bibbot@ckurs.de" +git config --global user.name "BibBot" +git commit -m "Reformat bib file" gipp.bib +git push https://$GITHUBKEY@github.com/ag-gipp/bib $TRAVIS_BRANCH diff --git a/support/compile.sh b/support/compile.sh index 5063dc0..aa1f718 100755 --- a/support/compile.sh +++ b/support/compile.sh @@ -1,4 +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 cd src/tex latexmk cp allRefs.pdf ../../main.pdf -- GitLab