prophunt-garrysmod/lgsm/hooks/pre_push

14 lines
214 B
Plaintext
Raw Normal View History

2019-10-15 16:29:50 +02:00
#!/bin/sh
set -o errexit
set -o nounset
2019-10-15 16:29:50 +02:00
imageSuffix=""
if [ "$SOURCE_BRANCH" != "master" ]; then
imageSuffix="-$(echo "$SOURCE_BRANCH" | sed 's/\//-/g')"
fi
2019-10-17 12:38:20 +02:00
cd ..
2019-10-17 12:38:20 +02:00
2021-11-08 19:06:12 +01:00
bash test/testBuild.sh "$imageSuffix" --push