Files
douyi_guaji_main/scripts/auto_commit_push.bat
T

18 lines
391 B
Batchfile

@echo off
REM Git auto commit and push batch launcher.
REM Runs the PowerShell script from this scripts directory.
cd /d "%~dp0.."
if errorlevel 1 (
echo Failed to switch to project root.
pause
exit /b 1
)
REM Run the PowerShell script.
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0auto_commit_push.ps1"
set "EXIT_CODE=%ERRORLEVEL%"
pause
exit /b %EXIT_CODE%