Skip to content

Commit

Permalink
release.sh: automatically switch to biber if required
Browse files Browse the repository at this point in the history
  • Loading branch information
xqms committed Apr 8, 2024
1 parent 465bce6 commit bf9dbf5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ echo
echo "2) Running pdflatex (log in release.log)..."
pdflatex -shell-escape -interaction nonstopmode submission.tex &>> release.log
pdflatex -shell-escape -interaction nonstopmode submission.tex &>> release.log
bibtex submission

if grep -F "run Biber on the file" release.log &> /dev/null; then
biber submission
else
bibtex submission
fi

pdflatex -shell-escape -interaction nonstopmode submission.tex &>> release.log
pdflatex -shell-escape -interaction nonstopmode submission.tex &>> release.log

Expand Down

0 comments on commit bf9dbf5

Please sign in to comment.