Skip to content

Commit 78476c6

Browse files
Update build.sh
1 parent 4b440ce commit 78476c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ 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
9+
TEST_VAL=git rev-parse --abbrev-ref HEAD
1010
echo "testing val ${TEST_VAL}"
1111

1212
if [ ! -d "snooty-parser" ]; then
@@ -18,7 +18,7 @@ fi
1818

1919
echo "======================================================================================================================================================================="
2020
echo "========================================================================== Running parser... =========================================================================="
21-
./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}"
2222
echo "========================================================================== Parser complete ============================================================================"
2323
echo "======================================================================================================================================================================="
2424

0 commit comments

Comments
 (0)