tools: appveyor: troubleshooting stack#4125

Add --git as well.

[ci skip]
This commit is contained in:
Simon Michael 2018-07-05 05:39:52 +01:00
parent 44efd533d2
commit d13ae42f4c

View File

@ -37,13 +37,13 @@ cache:
install:
# temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe stack-81889990.exe
#- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe stack-81889990.exe
- curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
- move stack.exe stack-release.exe
- stack-release --version
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- stack-release upgrade --git-branch 4125-cabal-style-build-tools
- stack-release upgrade --git --git-branch 4125-cabal-style-build-tools
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe .
- copy stack.exe stack-512f76f3.exe
- stack --version