From 4c20fef1c0e6d8727e84b468b74427e7efc3c128 Mon Sep 17 00:00:00 2001 From: Emrul Islam Date: Fri, 13 Sep 2024 12:49:37 +0100 Subject: [PATCH] Add build_all_branches.sh to 1.0 branch --- build_all_branches.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_all_branches.sh b/build_all_branches.sh index 78f9085..a4a34db 100755 --- a/build_all_branches.sh +++ b/build_all_branches.sh @@ -10,6 +10,7 @@ touch base/.nojekyll # Generating documentation for each other branch in a subdirectory echo "All branches:" +git fetch --all echo "$(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$')" for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$'); do SANITIZED_BRANCH="$(echo $BRANCH | sed 's/\//_/g')"