diff options
| -rw-r--r-- | appveyor.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml index c5005bd6d..7886b905b 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -41,15 +41,16 @@ after_build: | |||
| 41 | { | 41 | { |
| 42 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-","" | 42 | $GITDATE = $(git show -s --date=short --format='%ad') -replace "-","" |
| 43 | $GITREV = $(git show -s --format='%h') | 43 | $GITREV = $(git show -s --format='%h') |
| 44 | $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r","" | 44 | # Where are these spaces coming from? Regardless, let's remove them |
| 45 | # zip up the build folder | 45 | $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ","" |
| 46 | # Zip up the build folder | ||
| 46 | 7z a $BUILD_NAME .\build\bin\release\* | 47 | 7z a $BUILD_NAME .\build\bin\release\* |
| 47 | 48 | ||
| 48 | # download winscp | 49 | # Download winscp |
| 49 | Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip" | 50 | Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip" |
| 50 | 7z e -y winscp570.zip | 51 | 7z e -y winscp570.zip |
| 51 | 52 | ||
| 52 | # upload to server | 53 | # Upload to server |
| 53 | .\WinSCP.com /command ` | 54 | .\WinSCP.com /command ` |
| 54 | "option batch abort" ` | 55 | "option batch abort" ` |
| 55 | "option confirm off" ` | 56 | "option confirm off" ` |