Skip to content
Snippets Groups Projects
Commit a6f8036a authored by Carl Mai's avatar Carl Mai
Browse files

fix ci yml

parent f191b17d
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,6 @@ stages: ...@@ -9,8 +9,6 @@ stages:
- build - build
- diff - diff
build: build:
stage: build stage: build
tags: tags:
...@@ -22,7 +20,7 @@ build: ...@@ -22,7 +20,7 @@ build:
script: script:
- cd "$FILEDIR" - cd "$FILEDIR"
- latexmk -pdf "$FILENAME.tex" 2>&1 | tee build_"$FILENAME".log - latexmk -pdf "$FILENAME.tex" 2>&1 | tee build_"$FILENAME".log
- grep -v "LaTeX Warning: There were undefined references." build_"$FILENAME".log - 'grep -v "LaTeX Warning: There were undefined references." build_"$FILENAME".log'
diff: diff:
stage: diff stage: diff
...@@ -33,7 +31,7 @@ diff: ...@@ -33,7 +31,7 @@ diff:
- $FILEDIR/difftag_$FILENAME.pdf - $FILEDIR/difftag_$FILENAME.pdf
- $FILEDIR/diffcommit_$FILENAME.pdf - $FILEDIR/diffcommit_$FILENAME.pdf
script: script:
- cd $FILEDIR - cd "$FILEDIR"
- LAST_TAG=$(git describe --abbrev=0 --tags HEAD~1) - LAST_TAG=$(git describe --abbrev=0 --tags HEAD~1)
- wget https://gitlab.com/git-latexdiff/git-latexdiff/raw/ef53cddc761ce2d278ba5016d17828cf63e30af5/git-latexdiff - wget https://gitlab.com/git-latexdiff/git-latexdiff/raw/ef53cddc761ce2d278ba5016d17828cf63e30af5/git-latexdiff
- if [ "$LAST_TAG" ] ; then - if [ "$LAST_TAG" ] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment