diff --git a/scripts/windows/ci/install.ps1 b/scripts/windows/ci/install.ps1 index 77b03a2de0..6abbda1114 100644 --- a/scripts/windows/ci/install.ps1 +++ b/scripts/windows/ci/install.ps1 @@ -7,6 +7,9 @@ If ($env:PLATFORM -Match '^x86|x64$') { $dirCheckout = (Get-Item $PSScriptRoot).parent.parent.parent.FullName $meteorBat = Join-Path $dirCheckout 'meteor.bat' +Write-Host "Resetting git checkout..." -ForegroundColor Magenta +& git.exe -C "$dirCheckout" reset --hard + Write-Host "Updating submodules recursively..." -ForegroundColor Magenta # Appveyor suggests -q flag for 'git submodule...' https://goo.gl/4TFAHm & git.exe -C "$dirCheckout" submodule -q update --init --recursive @@ -36,4 +39,4 @@ while ($attempt -gt 0 -and -not $success) { If ($LASTEXITCODE -ne 0) { throw "Running .\meteor --get-ready failed three times." -} \ No newline at end of file +}