summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar archshift2015-03-19 16:16:43 -0700
committerGravatar archshift2015-03-19 16:16:43 -0700
commitb4b1070541782b7cd0f4f54a5e8e869ab325e042 (patch)
tree916729de3d0bdd68fd1b03c88f61bf4cc02a1054
parentMerge pull request #665 from archshift/appveyor-sigh- (diff)
downloadyuzu-b4b1070541782b7cd0f4f54a5e8e869ab325e042.tar.gz
yuzu-b4b1070541782b7cd0f4f54a5e8e869ab325e042.tar.xz
yuzu-b4b1070541782b7cd0f4f54a5e8e869ab325e042.zip
Remove mysterious spaces that were added by `git show --format`
No idea why these spaces are only added on recent revisions of Citra (older revisions did not have this problem). Let's just remove the spaces then in Powershell.
-rw-r--r--appveyor.yml9
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" `