sync-all-repos: wait between async and sync process
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
This commit is contained in:
parent
0ea5553cc1
commit
ec515d6180
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ REPOLIST2="$REPOLIST $HOME/.password-store"
|
|||
|
||||
# First in parallel, then en sequence to spot errors
|
||||
for repo in "${REPOLIST}; do ( update_repo $repo & ) ; done
|
||||
|
||||
wait
|
||||
|
||||
for repo in "${REPOLIST}; do update_repo $repo ; done
|
||||
|
||||
# Repos we want to sync, but don't want to update the working tree
|
||||
|
|
Loading…
Reference in a new issue