added release-widget-fideuram command

This commit is contained in:
Alessandro Seravalli 2025-08-11 15:54:23 +02:00
parent 983291082c
commit fdf7737fb9

View File

@ -0,0 +1,22 @@
@echo off
setlocal enabledelayedexpansion
echo Hai aggiornato il changelog? [s/n]
set /p changelog_ok=
if /I not "!changelog_ok!"=="s" (
echo Aggiorna prima il changelog. Operazione annullata.
exit /b 1
)
set "commit_message=RELEASE"
if "%~1" neq "" (
set "commit_message=RELEASE %~1"
)
cd ..\..\pdca0\xdce-module-widget-fideuram-v1
call git commit --allow-empty -m "!commit_message!"
if "%~2" neq "false" (
call git push -f
)