Update the scripts

This commit is contained in:
Markus Fleschutz
2021-09-29 08:18:28 +02:00
parent 0dd2d484c5
commit 291d785700
3 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,4 @@
<#
.SYNOPSIS

pull-repos.ps1 [<parent-dir>]
.DESCRIPTION
Pulls updates for all Git repositories under the current/given directory (including submodules)
@ -29,7 +28,7 @@ try {
[int]$Step = 1
foreach ($Folder in $Folders) {
$FolderName = (get-item "$Folder").Name
"👉 Step $Step/$($FolderCount): Pulling 📂$FolderName..."
" Step $Step/$($FolderCount): Pulling 📂$FolderName..."
& git -C "$Folder" pull --recurse-submodules --jobs=4
if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }