From 8c3a75fd2350fdf01d8bbcc3f7f66d3da791167b Mon Sep 17 00:00:00 2001 From: Aleksei Babushkin Date: Mon, 30 Sep 2024 19:35:15 +0500 Subject: [PATCH] [ci] clone with submodules --- scripts/build/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/common-functions b/scripts/build/common-functions index d7ae4654c4..92f8ecb1df 100644 --- a/scripts/build/common-functions +++ b/scripts/build/common-functions @@ -6,7 +6,7 @@ function git_clone_or_update() { local branch="$3" if [[ ! -e "${destination}/.git" ]]; then - git clone $([ "${branch}x" != "x" ] && echo "--depth 1 -b ${branch}" || echo "") "$url" "$destination" + git clone --recurse-submodules $([ "${branch}x" != "x" ] && echo "--depth 1 -b ${branch}" || echo "") "$url" "$destination" else pushd "$destination" git pull