- [NEW] Scripts de publicació en gitea
This commit is contained in:
23
do_release.bat
Normal file
23
do_release.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
|
||||
REM Comprobar parámetro
|
||||
IF "%1"=="" (
|
||||
echo Uso: build_windows.bat ^<PARAMETRO^>
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
set PARAM=%1
|
||||
|
||||
echo Compilando windows...
|
||||
make windows || exit /b 1
|
||||
|
||||
echo Creando data.jf2...
|
||||
respak2 -p || exit /b 1
|
||||
|
||||
echo Creando paquetes...
|
||||
|
||||
REM Crear ZIP release con exe + data.jf2
|
||||
tar -a -c -f mini_%PARAM%_windows_release.zip thepool.exe data.jf2 bin\SDL3.dll || exit /b 1
|
||||
|
||||
echo Paquetes generados:
|
||||
echo thepool_%PARAM%_win32-x64.zip
|
||||
Reference in New Issue
Block a user