Fix bug with contribution

This commit is contained in:
Filip Gralinski 2022-02-12 12:14:17 +01:00
parent d7131d2642
commit a9267748e8

View File

@ -146,7 +146,12 @@ fi
rm -rf _latex-templates _optional_files rm -rf _latex-templates _optional_files
if [ -e .git ]; then if [ -e .git ]; then
git checkout README.md main.tex abstract.tex preamble.tex metadata.tex bibliography.bib contributions.yaml git checkout README.md main.tex abstract.tex preamble.tex metadata.tex bibliography.bib
if [ "{{ cookiecutter.contribution_declaration }}" = "yes" ]; then
git checkout contributions.yaml
fi
for f in helpers/vars abstract-pl.tex keywords.tex keywords-pl.tex appendix.tex for f in helpers/vars abstract-pl.tex keywords.tex keywords-pl.tex appendix.tex
do do
git checkout $f || true git checkout $f || true