1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00
Radarr/package.bat
kay.one 0a10ab0880 updated package.bat file
still need to run grunt
2013-04-18 23:09:52 -07:00

27 lines
754 B
Batchfile

SET PACKAGEROOT=_rawPackage
SET TARGET=%PACKAGEROOT%\NzbDrone
SET COPY_FLAGS=/S /V /I /Y
SET DELETE_FLAGS=/Q /F /S
rd %PACKAGEROOT% /S /Q
del nzbdrone*.zip %DELETE_FLAGS%
del _output\FluentValidation.resources.dll %DELETE_FLAGS%
echo ##teamcity[progressMessage 'Packaging release']
xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy _output\*.* %TARGET%\ %COPY_FLAGS%
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ %COPY_FLAGS%
CD %PACKAGEROOT%
del *.xml %DELETE_FLAGS%
del *.vshost.exe.* %DELETE_FLAGS%
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
CD ..
echo ##teamcity[progressMessage 'Release packaged']