From 5ebd549ad14edac6cdf58fcdef2e79d56f43af46 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:19:55 -0600 Subject: [PATCH] [Backport 8.x] Checkout correct branch of generator (#2533) (cherry picked from commit ed3cace127d28567dab1ea395f5cc7abe56e486d) Co-authored-by: Josh Mock --- .github/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/make.sh b/.github/make.sh index c4d455168..acaef57ce 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[*]}"