prophunt-garrysmod/lgsm/hooks/pre_push
2021-11-08 19:06:12 +01:00

14 lines
214 B
Bash

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