Merge pull request #1912 from yuriks/fix-win-deploy

Fix AppVeyor WinSCP download
This commit is contained in:
bunnei 2016-06-15 17:56:27 -04:00 committed by GitHub
commit ffa8f5c7dc

View File

@ -44,12 +44,10 @@ on_success:
# Do a second archive with only the binaries # Do a second archive with only the binaries
7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe 7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe
# Download winscp
Invoke-WebRequest "http://iweb.dl.sourceforge.net/project/winscp/WinSCP/5.7.3/winscp573.zip" -OutFile "winscp573.zip"
7z e -y winscp573.zip
# Upload to server # Download WinSCP and upload to server
.\WinSCP.com /command ` choco install winscp.portable
WinSCP.exe /command `
"option batch abort" ` "option batch abort" `
"option confirm off" ` "option confirm off" `
"open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" ` "open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" `