aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar archshift <gh@archshift.com>2015-03-19 16:16:43 -0700
committerGravatar archshift <gh@archshift.com>2015-03-19 16:16:43 -0700
commitb4b1070541782b7cd0f4f54a5e8e869ab325e042 (patch)
tree916729de3d0bdd68fd1b03c88f61bf4cc02a1054
parentdf71ed194d041e01878636cf7939a29b6e14f56b (diff)
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 c5005bd6..7886b905 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -41,15 +41,16 @@ after_build:
{
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
$GITREV = $(git show -s --format='%h')
- $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r",""
- # zip up the build folder
+ # Where are these spaces coming from? Regardless, let's remove them
+ $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace " ",""
+ # Zip up the build folder
7z a $BUILD_NAME .\build\bin\release\*
- # download winscp
+ # Download winscp
Invoke-WebRequest "http://hivelocity.dl.sourceforge.net/project/winscp/WinSCP/5.7/winscp570.zip" -OutFile "winscp570.zip"
7z e -y winscp570.zip
- # upload to server
+ # Upload to server
.\WinSCP.com /command `
"option batch abort" `
"option confirm off" `