Skip to content

Commit

Permalink
ci: upgrade git on appveyor to version v2.21.0.windows.1
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Mar 5, 2019
1 parent e23d0b3 commit 25359bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 25359bc

Please sign in to comment.