We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 897f7e3 commit 80d4ddcCopy full SHA for 80d4ddc
doc/build_antora.sh
@@ -39,11 +39,14 @@ if [ -z "${BOOST_SRC_DIR:-}" ]; then
39
fi
40
41
42
+BRANCH=master
43
+
44
if [ -n "${BOOST_SRC_DIR:-}" ]; then
45
if [ -n "${CIRCLE_REPOSITORY_URL:-}" ]; then
46
if [[ "$CIRCLE_REPOSITORY_URL" =~ boostorg/boost(\.git)?$ ]]; then
47
LIB="$(basename "$(dirname "$SCRIPT_DIR")")"
48
REPOSITORY="boostorg/${LIB}"
49
+ BRANCH=$(git -C "$BOOST_SRC_DIR" rev-parse --abbrev-ref HEAD)
50
else
51
ACCOUNT="${CIRCLE_REPOSITORY_URL#*:}"
52
ACCOUNT="${ACCOUNT%%/*}"
0 commit comments