From fe89ee7de08887380faea76b0ed03fba4e30a334 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Fri, 8 May 2020 13:40:16 -0400 Subject: [PATCH] set current branch for test --- docs/src/main/asciidoc/ghpages.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/main/asciidoc/ghpages.sh b/docs/src/main/asciidoc/ghpages.sh index bcee92e9..c286d792 100755 --- a/docs/src/main/asciidoc/ghpages.sh +++ b/docs/src/main/asciidoc/ghpages.sh @@ -85,6 +85,7 @@ function retrieve_current_branch() { # Code getting the name of the current branch. For master we want to publish as we did until now # https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch # If there is a branch already passed will reuse it - otherwise will try to find it + echo "BRANCH=${BRANCH}" CURRENT_BRANCH=${BRANCH} if [[ -z "${CURRENT_BRANCH}" ]] ; then CURRENT_BRANCH=$("${GIT_BIN}" symbolic-ref -q HEAD)