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')"