From 81f87b8e02c7c03cfb56527712c62ef5d37d53ef Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Fri, 13 Jan 2023 18:28:53 +0000 Subject: [PATCH] Ignore gh-pages in branch list --- build_all_branches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_all_branches.sh b/build_all_branches.sh index 73f3474..2ebbf9f 100755 --- a/build_all_branches.sh +++ b/build_all_branches.sh @@ -9,7 +9,7 @@ cat > base/_redirects << EOF EOF # Generating documentation for each other branch in a subdirectory -for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop)$'); do +for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$'); do echo "$BRANCH" >> base/versions.txt git checkout $BRANCH node processing