summaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml16
1 files changed, 7 insertions, 9 deletions
diff --git a/appveyor.yml b/appveyor.yml
index fa4134384..e82bdf0cf 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -39,17 +39,15 @@ on_success:
# Where are these spaces coming from? Regardless, let's remove them
$BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
$BUILD_NAME_NOQT = "citra-noqt-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
- # Zip up the build folder
- 7z a $BUILD_NAME .\build\bin\release\*
- # Do a second archive with only the binaries
- 7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe
+ # Zip up the build folder and documentation
+ 7z a $BUILD_NAME .\build\bin\release\* .\license.txt .\README.md
+ # Do a second archive with only the binaries (excludes dlls) and documentation
+ 7z a $BUILD_NAME_NOQT .\build\bin\release\*.exe .\license.txt .\README.md
- # 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
- .\WinSCP.com /command `
+ # Download WinSCP and upload to server
+ choco install winscp.portable
+ WinSCP.exe /command `
"option batch abort" `
"option confirm off" `
"open sftp://citra-builds:${env:BUILD_PASSWORD}@builds.citra-emu.org -hostkey=*" `