Skip to content

Commit 4b440ce

Browse files
Update build.sh
1 parent 10b5c93 commit 4b440ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ make examples
66
echo "Printing branch name ${BRANCH_NAME}"
77
echo "branch using git branch ${BRANCH}"
88

9+
git rev-parse --abbrev-ref HEAD >> TEST_VAL
10+
echo "testing val ${TEST_VAL}"
11+
912
if [ ! -d "snooty-parser" ]; then
1013
echo "snooty parser not installed, downloading..."
1114
curl -L -o snooty-parser.zip https://github.com/mongodb/snooty-parser/releases/download/v${PARSER_VERSION}/snooty-v${PARSER_VERSION}-linux_x86_64.zip
@@ -15,7 +18,7 @@ fi
1518

1619
echo "======================================================================================================================================================================="
1720
echo "========================================================================== Running parser... =========================================================================="
18-
./snooty-parser/snooty/snooty build . --no-caching --output=./bundle.zip --branch=BRANCH_NAME
21+
./snooty-parser/snooty/snooty build . --no-caching --output=./bundle.zip --branch="BRANCH_NAME"
1922
echo "========================================================================== Parser complete ============================================================================"
2023
echo "======================================================================================================================================================================="
2124

0 commit comments

Comments
 (0)