Update submodule in exp-update (#2334)

This commit is contained in:
clsty
2025-10-30 15:45:49 +08:00
parent b0f09b20d4
commit ae87646e40
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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."
+1
View File
@@ -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