GSL/asm/scripts/push_asm.bat

11 lines
394 B
Batchfile
Raw Normal View History

git config --global core.autocrlf false
REM Get branch to check asm into
git checkout %APPVEYOR_REPO_BRANCH% 2>&1
git checkout -b asm/%APPVEYOR_REPO_COMMIT%/appveyor-%APPVEYOR_JOB_ID% 2>&1
REM Check asm into the branch
git add "asm/*"
git status
git diff-index --cached --quiet --exit-code HEAD || git commit -m "[skip ci] Update ASM for %ASM_FOLDER%"
git push -u origin HEAD 2>&1