mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
Merge pull request #665 from archshift/appveyor-sigh-
AppVeyor: Strip newlines on the build name before trying to upload.
This commit is contained in:
commit
df71ed194d
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ after_build:
|
||||||
if (!"$env:APPVEYOR_PULL_REQUEST_TITLE" -and ("$env:APPVEYOR_REPO_BRANCH" -eq "master"))
|
if (!"$env:APPVEYOR_PULL_REQUEST_TITLE" -and ("$env:APPVEYOR_REPO_BRANCH" -eq "master"))
|
||||||
{
|
{
|
||||||
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
|
$GITDATE = $(git show -s --date=short --format='%ad') -replace "-",""
|
||||||
$GITREV = git show -s --format='%h'
|
$GITREV = $(git show -s --format='%h')
|
||||||
$BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z"
|
$BUILD_NAME = "citra-${GITDATE}-${GITREV}-windows-amd64.7z" -replace "`n|`r",""
|
||||||
# zip up the build folder
|
# zip up the build folder
|
||||||
7z a $BUILD_NAME .\build\bin\release\*
|
7z a $BUILD_NAME .\build\bin\release\*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue