make build error if script errors

This commit is contained in:
Maximilian Keßler 2022-01-30 21:36:18 +01:00
parent 69423e3a50
commit 457a8d3cf3
3 changed files with 3 additions and 0 deletions

View file

@ -1,3 +1,4 @@
set -e
export COMMIT_MSG=$(python3 print_deploy_message.py) export COMMIT_MSG=$(python3 print_deploy_message.py)
make ci-build make ci-build
cd build/LatexPackagesBuild cd build/LatexPackagesBuild

View file

@ -1,3 +1,4 @@
set -e
eval $(ssh-agent -s) eval $(ssh-agent -s)
echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null

View file

@ -1,4 +1,5 @@
# ! /bin/sh # ! /bin/sh
set -e
ssh git@gitlab.com ssh git@gitlab.com
git clone git@gitlab.com:latexci/packages/LatexPackagesBuild.git build/LatexPackagesBuild git clone git@gitlab.com:latexci/packages/LatexPackagesBuild.git build/LatexPackagesBuild
cd build/LatexPackagesBuild cd build/LatexPackagesBuild