From 9227a4995c4c49e977ab39d624afb6417c147b36 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 10 Dec 2024 09:58:14 -0600 Subject: [PATCH] Checkout correct branch of generator (#2531) (cherry picked from commit ed3cace127d28567dab1ea395f5cc7abe56e486d) --- .github/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/make.sh b/.github/make.sh index 8a74c5338..3d962c81d 100755 --- a/.github/make.sh +++ b/.github/make.sh @@ -176,7 +176,7 @@ else --rm \ $product \ /bin/bash -c "cd /usr/src && \ - git clone https://$CLIENTS_GITHUB_TOKEN@github.com/elastic/elastic-client-generator-js.git && \ + git clone --branch $GENERATOR_BRANCH https://$CLIENTS_GITHUB_TOKEN@github.com/elastic/elastic-client-generator-js.git && \ mkdir -p /usr/src/elastic-client-generator-js/output && \ cd /usr/src/elasticsearch-js && \ node .buildkite/make.mjs --task $TASK ${TASK_ARGS[*]}"