Skip to content

Commit 04a0633

Browse files
authored
doctest: Use 1.0 branch instead of main (#4219)
Signed-off-by: Simeon Widdis <[email protected]>
1 parent 6d69440 commit 04a0633

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctest/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ task cloneSqlCli(type: Exec) {
2626

2727
if (repoDir.exists()) {
2828
// Repository already exists, fetch and checkout latest
29-
commandLine 'git', '-C', repoDir.absolutePath, 'fetch', 'origin', 'main'
30-
commandLine 'git', '-C', repoDir.absolutePath, 'checkout', 'origin/main'
29+
commandLine 'git', '-C', repoDir.absolutePath, 'fetch', 'origin', '1.0-legacy'
30+
commandLine 'git', '-C', repoDir.absolutePath, 'checkout', 'origin/1.0-legacy'
3131
} else {
3232
// Repository doesn't exist, clone it
3333
commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git', repoDir.absolutePath

0 commit comments

Comments
 (0)