From 0656e248b4a427b37bf1c8cbe6b3913c886ff40b Mon Sep 17 00:00:00 2001 From: Lucas Briese Date: Mon, 8 Nov 2021 20:41:19 +0100 Subject: [PATCH] test fix ci, crlf -> lf --- hooks/pre_push | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) 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