use git submodule sync --recursive because submodule url changed (#4243)

This commit is contained in:
Alex Sharov 2022-05-24 10:58:46 +07:00 committed by GitHub
parent 187e0a5af9
commit cb70e3315b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,4 +148,5 @@ git-submodules:
@[ -d ".git" ] || (echo "Not a git repository" && exit 1) @[ -d ".git" ] || (echo "Not a git repository" && exit 1)
@echo "Updating git submodules" @echo "Updating git submodules"
@# Dockerhub using ./hooks/post-checkout to set submodules, so this line will fail on Dockerhub @# Dockerhub using ./hooks/post-checkout to set submodules, so this line will fail on Dockerhub
@git submodule sync --recursive
@git submodule update --quiet --init --recursive --force || true @git submodule update --quiet --init --recursive --force || true