This commit is contained in:
Lucas Briese
2021-11-08 23:38:55 +01:00
parent d73cc30676
commit 176f6c5411
7 changed files with 142 additions and 104 deletions

14
hooks/pre_push Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
set -o errexit
set -o nounset
imageSuffix=""
if [ "$SOURCE_BRANCH" != "master" ]; then
imageSuffix="-$(echo "$SOURCE_BRANCH" | sed 's/\//-/g')"
fi
echo "current directory:"
echo "$(pwd)"
ls -lA .
bash test/testBuild.sh "$imageSuffix" --skip-ttt --push