From fdb9bcce168047705782a00634d9fd87debe4d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Tue, 30 Jul 2024 16:06:23 +0200 Subject: [PATCH] ensure to git reset checkout on all submodules as well --- scripts/windows/ci/install.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/windows/ci/install.ps1 b/scripts/windows/ci/install.ps1 index 6abbda1114..ecb7c9194c 100644 --- a/scripts/windows/ci/install.ps1 +++ b/scripts/windows/ci/install.ps1 @@ -9,6 +9,7 @@ $meteorBat = Join-Path $dirCheckout 'meteor.bat' Write-Host "Resetting git checkout..." -ForegroundColor Magenta & git.exe -C "$dirCheckout" reset --hard +& git.exe -C "$dirCheckout" submodule foreach --recursive 'git reset --hard' Write-Host "Updating submodules recursively..." -ForegroundColor Magenta # Appveyor suggests -q flag for 'git submodule...' https://goo.gl/4TFAHm