From 3525ac4a109da4613443bb8655bfa3ebb9e0c7b9 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Thu, 12 Sep 2024 14:15:27 +0100 Subject: [PATCH] Add fet all to 1.0 --- 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')"