update steam build script to include pdb and zip each release

This commit is contained in:
2019-06-27 09:45:36 +02:00
parent a7f402a9e6
commit 81e7003b05

View File

@@ -1,6 +1,7 @@
@echo off
mkdir content
xcopy /I /D /Y /S "..\x64\Release\*.dll" content
xcopy /I /D /Y /S "..\x64\Release\*.pdb" content
robocopy ..\data\ content\data\ /MIR
for /f %%i in ('git rev-parse --abbrev-ref HEAD') do set BRANCH=%%i
for /f %%i in ('git log "--pretty=format:%%h" -n 1') do set HASH=%%i
@@ -10,4 +11,5 @@ set VERSION=%TAG%.%COUNT% (%HASH%-%BRANCH%)
echo Building version %VERSION%
set /p ID=<steamid.txt
steamcmd.exe +login %ID% +drm_wrap 954880 "%~dp0..\x64\Release\PanoPainter.exe" "%~dp0content\PanoPainter.exe" drmtoolp 0 +run_app_build -desc "%VERSION%" "%~dp0scripts\app_build_954880.vdf" +quit
7z.exe a "PanoPainter-Steam-%VERSION%.zip" content\*
pause