diff --git a/.circleci/config.yml b/.circleci/config.yml index b2850b89c15..70bfdcffc01 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -399,7 +399,7 @@ jobs: echo "Not a tag or master branch - skipping versioned docs." circleci step halt else - make -f ./docs/Makefile versioned CURBRANCH=$CIRCLE_BRANCH + make -f ./docs/Makefile versioned CURBRANCH=${CIRCLE_TAG:-$CIRCLE_BRANCH} fi - save_cache: key: docs-v1-{{ .Branch }}-{{ .Revision }}