From de1e3676ebd840f888190b29e68e7d607ee2522c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=A4der?= Date: Tue, 15 Oct 2019 12:28:04 +0200 Subject: [PATCH] Fix push --- hooks/push | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/push b/hooks/push index c1e3ccb..81dc7db 100755 --- a/hooks/push +++ b/hooks/push @@ -2,8 +2,8 @@ . hooks/common -if [ "${SOURCE_BRANCH}" == "main" ] || [ "${DEBUG}" == "true" ]; then - if [ "${SOURCE_BRANCH}" != "main" ]; then +if [ "${SOURCE_BRANCH}" == "master" ] || [ "${DEBUG}" == "true" ]; then + if [ "${SOURCE_BRANCH}" != "master" ]; then echo "⚠️⚠️⚠️ Would exit, but DEBUG is '${DEBUG}'". fi