added release-widget-fideuram command
This commit is contained in:
parent
983291082c
commit
fdf7737fb9
22
cmd/release-widget-fideuram.bat
Normal file
22
cmd/release-widget-fideuram.bat
Normal 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
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user