From 39384c3ba6be9f27a6d7d1a7fe3d2b0e6f62244d Mon Sep 17 00:00:00 2001 From: Simeon Widdis Date: Wed, 3 Sep 2025 20:36:28 +0000 Subject: [PATCH] doctest: Use 1.0 branch instead of main Signed-off-by: Simeon Widdis --- doctest/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doctest/build.gradle b/doctest/build.gradle index 92b1a1c9e2c..20fa9a32104 100644 --- a/doctest/build.gradle +++ b/doctest/build.gradle @@ -26,8 +26,8 @@ task cloneSqlCli(type: Exec) { if (repoDir.exists()) { // Repository already exists, fetch and checkout latest - commandLine 'git', '-C', repoDir.absolutePath, 'fetch', 'origin', 'main' - commandLine 'git', '-C', repoDir.absolutePath, 'checkout', 'origin/main' + commandLine 'git', '-C', repoDir.absolutePath, 'fetch', 'origin', '1.0-legacy' + commandLine 'git', '-C', repoDir.absolutePath, 'checkout', 'origin/1.0-legacy' } else { // Repository doesn't exist, clone it commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git', repoDir.absolutePath