Skip to content

Commit

Permalink
#248 typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 27, 2024
1 parent 431fd6d commit 00ec8ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rultor.yml
Expand Up @@ -38,7 +38,7 @@ release:
repo=yegor256/cam
sudo docker build --no-cache --tag "${repo}:${tag}" "$(pwd)"
mkdir /tmp/dataset
sudo docker run --rm "${repo}:${tag}" 'make install env lint test'
sudo docker run --rm "${repo}:${tag}" make install env lint test
cat ../docker-password | \
sudo docker login --password-stdin --username yegor256
sudo docker push "${repo}:${tag}"
7 changes: 6 additions & 1 deletion steps/report.sh
Expand Up @@ -65,7 +65,12 @@ fi

dest=${t}/report.pdf
if ! TARGET="${t}" latexmk -pdf -r "${tmp}/.latexmkrc" -quiet -cd "${tmp}/report.tex"; then
cat "${tmp}/report.log"
if [ -e "${tmp}/report.log" ]; then
cat "${tmp}/report.log"
echo "Failed to generate PDF report with LaTeX, see the log above"
else
echo "Failed to generate PDF report with LaTeX, there is no log file visible"
fi
exit 1
fi
cp "${pdf}" "${dest}"
Expand Down

0 comments on commit 00ec8ee

Please sign in to comment.