PTMagic/_Development/CreateRelease.cmd

26 lines
530 B
Batchfile
Raw Permalink Normal View History

REM Create a PTM release
IF EXIST ..\Release GOTO NOWINRELEASE
MD ..\Release
:NOWINRELEASE
IF EXIST ..\Release\Latest GOTO NOWINLATEST
MD ..\Release\Latest
:NOWINLATEST
REM Remove previous release
CD ..\Release\Latest
DEL /F /S /Q *
REM Copy release files
MD PTMagic
XCOPY /Y /S ..\..\PTMagic\_defaults\* .\
2021-02-11 15:26:47 +01:00
XCOPY /Y /S ..\..\PTMagic\_auto_updater\* .\PTMagic
XCOPY /Y /S ..\..\PTMagic\bin\Release\PublishOutput .\PTMagic
CD .\PTMagic
DEL /F /S /Q _presets
DEL /F /S /Q settings.*
DEL /F /S /Q Monitor\appsettings.json
2019-12-30 16:13:28 +01:00
pause