prophunt-garrysmod/hooks/pre_push

12 lines
229 B
Plaintext
Raw Normal View History

#!/bin/sh
set -o errexit
set -o nounset
imageSuffix=""
if [ "$SOURCE_BRANCH" != "master" ]; then
imageSuffix="-$(echo "$SOURCE_BRANCH" | sed 's/\//-/g')"
fi
bash test/testBuild.sh "$imageSuffix" --skip-ttt --push