Skip to content

Commit 80d4ddc

Browse files
committed
hack home
1 parent 897f7e3 commit 80d4ddc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/build_antora.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ if [ -z "${BOOST_SRC_DIR:-}" ]; then
3939
fi
4040
fi
4141

42+
BRANCH=master
43+
4244
if [ -n "${BOOST_SRC_DIR:-}" ]; then
4345
if [ -n "${CIRCLE_REPOSITORY_URL:-}" ]; then
4446
if [[ "$CIRCLE_REPOSITORY_URL" =~ boostorg/boost(\.git)?$ ]]; then
4547
LIB="$(basename "$(dirname "$SCRIPT_DIR")")"
4648
REPOSITORY="boostorg/${LIB}"
49+
BRANCH=$(git -C "$BOOST_SRC_DIR" rev-parse --abbrev-ref HEAD)
4750
else
4851
ACCOUNT="${CIRCLE_REPOSITORY_URL#*:}"
4952
ACCOUNT="${ACCOUNT%%/*}"

0 commit comments

Comments
 (0)