mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
redirect git to stdout so powershell doesn't see them as errors
This commit is contained in:
parent
ddfcf070c8
commit
aacf0301fc
@ -174,7 +174,7 @@ on_finish:
|
|||||||
$branchName = "asm/$($env:APPVEYOR_REPO_COMMIT)/appveyor-$($_.jobId)"
|
$branchName = "asm/$($env:APPVEYOR_REPO_COMMIT)/appveyor-$($_.jobId)"
|
||||||
git ls-remote --heads --exit-code https://github.com/dadonenf/GSL.git $branchName
|
git ls-remote --heads --exit-code https://github.com/dadonenf/GSL.git $branchName
|
||||||
if($?){
|
if($?){
|
||||||
git push origin --delete asm/$($env:APPVEYOR_REPO_COMMIT)/appveyor-$($_.jobId)
|
git push origin --delete asm/$($env:APPVEYOR_REPO_COMMIT)/appveyor-$($_.jobId) 2>&1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
git config --global core.autocrlf false
|
git config --global core.autocrlf false
|
||||||
|
|
||||||
REM Get branch to check asm into
|
REM Get branch to check asm into
|
||||||
git checkout %APPVEYOR_REPO_BRANCH%
|
git checkout %APPVEYOR_REPO_BRANCH% 2>&1
|
||||||
git checkout -b asm/%APPVEYOR_REPO_COMMIT%/appveyor-%APPVEYOR_JOB_ID%
|
git checkout -b asm/%APPVEYOR_REPO_COMMIT%/appveyor-%APPVEYOR_JOB_ID% 2>&1
|
||||||
|
|
||||||
REM Check asm into the branch
|
REM Check asm into the branch
|
||||||
git add "asm/*"
|
git add "asm/*"
|
||||||
git status
|
git status
|
||||||
git diff-index --cached --quiet --exit-code HEAD || git commit -m "[skip ci] Update ASM for %ASM_FOLDER%"
|
git diff-index --cached --quiet --exit-code HEAD || git commit -m "[skip ci] Update ASM for %ASM_FOLDER%"
|
||||||
git push -u origin HEAD
|
git push -u origin HEAD 2>&1
|
Loading…
Reference in New Issue
Block a user