From b64780811b12c01adbdb2079581a810e81a8240c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 27 Apr 2024 11:57:55 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92export?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cd.sh b/cd.sh index 6fec4d3..f1ee1f8 100644 --- a/cd.sh +++ b/cd.sh @@ -30,8 +30,8 @@ case "${CD_OS_NAME}" in ;; esac # project / branch -[ "${CI_COMMIT_BRANCH}" ] && export CD_PROJECT_BRANCH="${CI_COMMIT_BRANCH}" -[ "${GITHUB_REF_NAME}" ] && export CD_PROJECT_BRANCH="${GITHUB_REF_NAME}" +[ "${CI_COMMIT_BRANCH}" ] && CD_PROJECT_BRANCH="${CI_COMMIT_BRANCH}" +[ "${GITHUB_REF_NAME}" ] && CD_PROJECT_BRANCH="${GITHUB_REF_NAME}" if [ ! "${CD_PROJECT_BRANCH}" ] ; then echo 'CD_PROJECT_BRANCH' exit 3