From 25359bcc03b2c819d6573f273c8892a6c5a978ee Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Mon, 4 Mar 2019 19:25:04 -0800 Subject: [PATCH] ci: upgrade git on appveyor to version v2.21.0.windows.1 --- .appveyor.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 2b5bdf2bb3..e81800424b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -95,6 +95,16 @@ init: # Load utility functions - ps: Invoke-Expression $env:PS_UTILS + # Upgrade git. + # TODO: remove when Appveyor upgrades to version 2.19.2.windows.1 or higher. + - ps: |- + $git_setup_uri = "https://github.com/git-for-windows/git/releases/" + + "download/v2.21.0.windows.1/Git-2.21.0-64-bit.exe" + Invoke-WebRequest -Uri $git_setup_uri -OutFile "$env:TEMP\git-setup.exe" + Start-Process -FilePath "$env:TEMP\git-setup.exe" ` + -ArgumentList "/verysilent" ` + -Wait + # Make git check out symlinks (not placeholder text files). - git config --global core.symlinks true