diff --git a/lgsm/hooks/pre_push b/lgsm/hooks/pre_push deleted file mode 100644 index 3cca663..0000000 --- a/lgsm/hooks/pre_push +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/test/testBuild.sh b/test/testBuild.sh index 6f9ec70..46ae268 100644 --- a/test/testBuild.sh +++ b/test/testBuild.sh @@ -26,7 +26,7 @@ function process() { fi } -echo "[testBuild][INFO]build" +echo "[testBuild][INFO] build" if "$BUILD_LGSM"; then process "lgsm_debian" "lgsm/" @@ -38,4 +38,6 @@ docker rmi "$repository:latest${SUFFIX}" || true docker tag "$repository:gmod_ttt_debian${SUFFIX}" "$repository:latest${SUFFIX}" if "$PUSH"; then docker push "$repository:lgsm_debian${SUFFIX}" -fi \ No newline at end of file +fi + +echo "[testBuild][INFO] build done!"