diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-03-04 19:25:04 -0800 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-03-04 21:01:52 -0800 |
commit | 25359bcc03b2c819d6573f273c8892a6c5a978ee (patch) | |
tree | 651bdb5f436374db0dc21661074f85aad86f1dbb | |
parent | e23d0b3452f52c6162ded9d0266f2121061ecfce (diff) |
ci: upgrade git on appveyor to version v2.21.0.windows.1
-rw-r--r-- | .appveyor.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 2b5bdf2bb..e81800424 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 |