aboutsummaryrefslogtreecommitdiffhomepage
path: root/appveyor.yml
diff options
context:
space:
mode:
authorGravatar archshift <gh@archshift.com>2015-03-17 19:26:45 -0700
committerGravatar archshift <gh@archshift.com>2015-03-17 19:26:45 -0700
commit5c4d8dff2ba453138c6b3ad56f58a07d00419871 (patch)
tree8934021319af22cb622568bcc58ff1acacb65dc5 /appveyor.yml
parent99fc82b5c0eaaadb3cc6c495fc04f9641358b11c (diff)
Strip newlines on the build name before trying to upload.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index ae22101e..c5005bd6 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -40,8 +40,8 @@ after_build:
if (!"$env:APPVEYOR_PULL_REQUEST_TITLE" -and ("$env:APPVEYOR_REPO_BRANCH" -eq "master"))
{
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
- $GITREV = git show -s --format='%h'
- $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z"
+ $GITREV = $(git show -s --format='%h')
+ $BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r",""
# zip up the build folder
7z a $BUILD_NAME .\build\bin\release\*