Update update_script.py

This commit is contained in:
Saifeddine ALOUI 2023-11-07 08:58:23 +01:00 committed by GitHub
parent 946312fcc5
commit 7c7a868c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ def run_git_pull():
print(f"Checking out main from {submodule}")
submodule.repo.git.submodule('update', '--remote', submodule.name) # Force submodule update
print(f"Forcing update on {submodule}")
submodule_repo.git.checkout('main')
except Exception as ex:
print(f"Couldn't checkout module {submodule}")