2019-02-13 14:50:02 -05:00
|
|
|
git config --global credential.helper store
|
|
|
|
powershell -command 'Add-Content "$HOME\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"' > nul 2>&1
|
|
|
|
git config --global user.email "dadonenf@microsoft.com"
|
|
|
|
git config --global user.name "Daniel Donenfeld"
|
|
|
|
git config --global core.autocrlf false
|
|
|
|
|
|
|
|
REM Get branch to check asm into
|
2019-02-12 21:14:29 -05:00
|
|
|
git checkout %APPVEYOR_REPO_BRANCH%
|
2019-02-13 14:50:02 -05:00
|
|
|
git checkout -b asm/%APPVEYOR_REPO_COMMIT%/appveyor-%APPVEYOR_JOB_NUMBER%
|
|
|
|
|
|
|
|
REM Check asm into the branch
|
2019-02-12 21:14:29 -05:00
|
|
|
git add "asm/*"
|
|
|
|
git status
|
2019-02-13 14:50:02 -05:00
|
|
|
git diff-index --cached --quiet --exit-code HEAD || git commit -m "[skip ci] Update ASM for %ASM_FOLDER%"
|
|
|
|
git push
|