From af63484324a05eb1cc61e809cefb9f2733f4df5c Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Thu, 20 Jul 2023 23:33:24 +0530 Subject: [PATCH] Add git fetch --- gitlab-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab-build.sh b/gitlab-build.sh index 0fd5f513..437173da 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -121,6 +121,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then export GITLAB_USER=docs 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 -- GitLab