From a118b5e8680b8f1889fa5f034a4589498347ad71 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Thu, 20 Jul 2023 23:17:12 +0530 Subject: [PATCH] Add more debug outputs --- gitlab-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitlab-build.sh b/gitlab-build.sh index 9f65a311..775b2433 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -121,6 +121,8 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then export GITLAB_USER=docs export GITLAB_HOST=$CI_SERVER_HOST export PROJECT_REPO=docs.beagleboard.io + echo "git branch output check" + echo "$(git branch -a --contains tags/$CI_COMMIT_TAG)" export GIT_BRANCH=$(git branch -a --contains tags/$CI_COMMIT_TAG | grep origin | tr -d '* ' | sed 's/.*origin\///' | head -n 1) echo "**** $GIT_BRANCH contains tags/$CI_COMMIT_TAG ****" export PROJECT_BRANCH=$GIT_BRANCH -- GitLab