From ad1410860a1e8aac8c1bd48a2b76105d60ff3473 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Thu, 20 Jul 2023 23:37:21 +0530 Subject: [PATCH] Fix "Edit on Gitlab" for docs.beagleboard.org --- gitlab-build.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gitlab-build.sh b/gitlab-build.sh index 437173da..d8b7793c 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -122,13 +122,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then export GITLAB_HOST=$CI_SERVER_HOST export PROJECT_REPO=docs.beagleboard.io git fetch --all -v - git checkout main - echo "git branch output check" - git branch - 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 ****" - git checkout $GIT_BRANCH export PROJECT_BRANCH=$GIT_BRANCH if [ "$GIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]; then export VER_DIR=latest -- GitLab