Skip to content

Commit

Permalink
DOP-5159 update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Nov 20, 2024
1 parent fba7e5c commit 57895c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# variables that need to be changed based on the content repo you're working on -------------------------------------------
TESTING_ORGANIZATION=$1 # name of org, usually mongodb or 10gen
TESTING_REPO_NAME=$2 # name of content repo
TESTING_BRANCH_NAME=$3
TESTING_BRANCH_NAME=$3 # name of the branch
PARSER_VERSION=$4 # version of the parser to download
# -------------------------------------------------------------------------------------------------------------------------
PARSER_VERSION=$4
echo "Parser version $PARSER_VERSION"

# This make command curls the examples for certain repos.
# If the rule doesn't exist, the error doesn't interrupt the build process.
Expand All @@ -18,7 +17,7 @@ git clone -b ${TESTING_BRANCH_NAME} https://github.com/${TESTING_ORGANIZATION}/$

# running the parser
if [ ! -d "snooty-parser" ]; then
echo "snooty parser not installed, downloading..."
echo "Snooty parser not installed, downloading parser version $PARSER_VERSION ..."
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
unzip -d ./snooty-parser snooty-parser.zip
chmod +x ./snooty-parser/snooty
Expand Down

0 comments on commit 57895c3

Please sign in to comment.