From ef8189dc884b33969e18abff3aa921ec2a478eda Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 17 Mar 2017 09:43:26 +0100 Subject: [PATCH] Fixed the retrieval of current branch --- docs/src/main/asciidoc/ghpages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/ghpages.sh b/docs/src/main/asciidoc/ghpages.sh index db6734de..795b17f3 100755 --- a/docs/src/main/asciidoc/ghpages.sh +++ b/docs/src/main/asciidoc/ghpages.sh @@ -344,11 +344,11 @@ done assert_properties set_default_props check_if_anything_to_sync +retrieve_current_branch if echo $VERSION | egrep -q 'SNAPSHOT' || [[ -z "${VERSION}" ]]; then CLONE="" VERSION="" echo "You've provided a version variable but it's a snapshot one. Due to this will not clone spring-cloud-static and publish docs over there" - retrieve_current_branch else switch_to_tag fi