From ae87646e40309e3fe897dc5cae9284812b1b55f7 Mon Sep 17 00:00:00 2001 From: clsty Date: Thu, 30 Oct 2025 15:45:49 +0800 Subject: [PATCH] Update submodule in exp-update (#2334) --- sdata/subcmd-exp-update-old/0.run.sh | 1 + sdata/subcmd-exp-update/0.run.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/sdata/subcmd-exp-update-old/0.run.sh b/sdata/subcmd-exp-update-old/0.run.sh index 76ddd9ed9..dc4b97075 100644 --- a/sdata/subcmd-exp-update-old/0.run.sh +++ b/sdata/subcmd-exp-update-old/0.run.sh @@ -541,6 +541,7 @@ if git remote get-url origin &>/dev/null; then log_info "Pulling changes from origin/$current_branch..." if git pull; then log_success "Successfully pulled latest changes" + git submodule update --init --recursive else log_warning "Failed to pull changes from remote. Continuing with local repository..." log_info "You may need to resolve conflicts manually later." diff --git a/sdata/subcmd-exp-update/0.run.sh b/sdata/subcmd-exp-update/0.run.sh index 632d63082..2ab21379c 100644 --- a/sdata/subcmd-exp-update/0.run.sh +++ b/sdata/subcmd-exp-update/0.run.sh @@ -844,6 +844,7 @@ if git remote get-url origin &>/dev/null; then else if git pull --ff-only; then log_success "Successfully pulled latest changes" + git submodule update --init --recursive # Verify we actually got new commits if git rev-parse --verify HEAD@{1} &>/dev/null; then if [[ "$(git rev-parse HEAD)" == "$(git rev-parse HEAD@{1})" ]]; then