diff --git a/hooks/pre_push b/hooks/pre_push index 6eed8ad..50918a5 100644 --- a/hooks/pre_push +++ b/hooks/pre_push @@ -1,11 +1,14 @@ -#!/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 +#!/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