prophunt-garrysmod/hooks/pre_push
2021-11-08 23:42:31 +01:00

15 lines
267 B
Bash

#!/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