mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-24 23:41:21 +08:00
20 lines
296 B
Batchfile
20 lines
296 B
Batchfile
|
|
|
|
@echo off
|
|
|
|
git switch master || goto :error
|
|
git pull || goto :error
|
|
git switch test || goto :error
|
|
git pull || goto :error
|
|
|
|
git merge master || goto :error
|
|
|
|
git push || goto :error
|
|
|
|
git switch master || goto :error
|
|
|
|
goto :EOF
|
|
|
|
:error
|
|
echo Failed with error #%errorlevel%.
|
|
exit /b %errorlevel% |