pdca0-dev-hub/cmd/build-commit.bat
Alessandro Seravalli 983291082c Refactor batch scripts and cleanup
- Refactored `cmd/build-commit.bat` and `cmd/release-commit.bat` to improve commit message handling and force push logic.
- Deleted obsolete `cmd/pdca0-fe.bat`.
- Added new command: `cmd/pdca0-fe.ps1`, that uses the new script implementation of the old `cmd/pdca0-fe.bat` using the `src/darwin/frontend` scripts folder.
- Removed unused or obsolete files.
2025-08-07 23:15:44 +02:00

13 lines
224 B
Batchfile

@echo off
setlocal enabledelayedexpansion
set "commit_message=build"
if "%~1" neq "" (
set "commit_message=build %~1"
)
call git commit --allow-empty -m "!commit_message!"
if "%~2" neq "false" (
call git push -f
)