From 665d4d7fa3c4240e01a2c6f6cfc5634838c12b63 Mon Sep 17 00:00:00 2001 From: Deepak Khatri <lorforlinux@beagleboard.org> Date: Mon, 3 Jul 2023 17:28:19 +0530 Subject: [PATCH] fix project branch macro --- gitlab-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitlab-build.sh b/gitlab-build.sh index 1bc77728..9dd9dc37 100755 --- a/gitlab-build.sh +++ b/gitlab-build.sh @@ -38,6 +38,7 @@ HERE echo "**** Updating $PAGES_URL/$VER_DIR ****" + make clean make html BUILDDIR=public/$VER_DIR/ make latexpdf BUILDDIR=public/$VER_DIR/ pdfcpu optimize public/$VER_DIR/latex/beagleboard-docs.pdf @@ -91,6 +92,7 @@ elif [ "$CI_COMMIT_TAG" != "" ]; then export VER_DIR=$PROJECT_BRANCH export PAGES_SLUG=$PROJECT_BRANCH else + export PROJECT_BRANCH=latest export VER_DIR=latest export PAGES_SLUG=latest fi -- GitLab