2011-06-02 04:41:24 +02:00
|
|
|
SET PACKAGEROOT=_rawPackage
|
|
|
|
SET TARGET=%PACKAGEROOT%\NzbDrone
|
2011-05-31 04:05:39 +02:00
|
|
|
|
2012-04-14 02:57:31 +02:00
|
|
|
rd %PACKAGEROOT% /S /Q
|
2011-10-26 19:35:55 +02:00
|
|
|
del nzbdrone*.zip /Q /F
|
|
|
|
|
2013-01-07 04:41:17 +01:00
|
|
|
echo ##teamcity[progressMessage 'Packaging release']
|
2011-11-14 01:57:03 +01:00
|
|
|
|
2011-06-02 04:41:24 +02:00
|
|
|
xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y
|
2011-12-19 06:08:36 +01:00
|
|
|
|
|
|
|
|
2012-01-17 08:12:22 +01:00
|
|
|
xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
|
|
|
|
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
|
|
|
|
|
2011-12-19 06:08:36 +01:00
|
|
|
xcopy NzbDrone\bin\Debug\*.* %TARGET%\ /E /V /I /Y
|
2011-06-02 04:41:24 +02:00
|
|
|
xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y
|
2011-05-31 04:05:39 +02:00
|
|
|
|
2011-12-19 06:08:36 +01:00
|
|
|
xcopy NzbDrone.Update\bin\Debug\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
|
2011-11-14 01:57:03 +01:00
|
|
|
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
|
2011-05-31 04:05:39 +02:00
|
|
|
|
2011-06-02 04:41:24 +02:00
|
|
|
xcopy NzbDrone.Web\bin\*.* %TARGET%\NzbDrone.Web\bin\ /E /V /I /Y
|
|
|
|
xcopy NzbDrone.Web\App_GlobalResources\*.* %TARGET%\NzbDrone.Web\App_GlobalResources\ /E /V /I /Y
|
|
|
|
xcopy NzbDrone.Web\Content\*.* %TARGET%\NzbDrone.Web\Content\ /E /V /I /Y
|
|
|
|
xcopy NzbDrone.Web\Scripts\*.* %TARGET%\NzbDrone.Web\Scripts\ /E /V /I /Y
|
|
|
|
xcopy NzbDrone.Web\Views\*.* %TARGET%\NzbDrone.Web\Views\ /E /V /I /Y
|
2013-01-25 18:54:45 +01:00
|
|
|
xcopy NzbDrone.Web\_backboneApp\*.* %TARGET%\NzbDrone.Web\_backboneApp\ /E /V /I /Y
|
2011-06-02 04:41:24 +02:00
|
|
|
|
2011-11-14 01:57:03 +01:00
|
|
|
del %TARGET%\NzbDrone.Web\bin\*.xml /Q /F
|
|
|
|
|
2011-10-31 06:45:06 +01:00
|
|
|
|
2011-05-31 04:05:39 +02:00
|
|
|
xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
|
|
|
|
xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
|
|
|
|
xcopy NzbDrone.Web\favicon.ico %TARGET%\NzbDrone.Web\
|
|
|
|
xcopy NzbDrone.Web\web.config %TARGET%\NzbDrone.Web\
|
|
|
|
|
|
|
|
|
2011-06-02 04:41:24 +02:00
|
|
|
CD %PACKAGEROOT%
|
2011-10-31 06:45:06 +01:00
|
|
|
|
|
|
|
del nlog.xml /Q /F /S
|
2011-11-14 01:57:03 +01:00
|
|
|
del nlog.pdb /Q /F /S
|
|
|
|
del Twitterizer2.pdb /Q /F /S
|
2011-10-31 06:45:06 +01:00
|
|
|
del *.vshost.exe.* /Q /F /S
|
|
|
|
del ninject*.pdb /Q /F /S
|
|
|
|
del ninject*.xml /Q /F /S
|
2012-02-10 08:50:46 +01:00
|
|
|
del nlog.pdb /Q /F /S
|
|
|
|
del Newtonsoft.Json.xml /Q /F /S
|
|
|
|
del Newtonsoft.Json.pdb /Q /F /S
|
2011-10-31 06:45:06 +01:00
|
|
|
del Mvc*.pdb /Q /F /S
|
|
|
|
|
2012-02-11 01:48:20 +01:00
|
|
|
del *debug.js /Q /F /S
|
|
|
|
del *-vsdoc.js /Q /F /S
|
|
|
|
|
2012-04-14 02:57:31 +02:00
|
|
|
|
2011-06-02 04:41:24 +02:00
|
|
|
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
|
|
|
|
|
2013-01-07 04:41:17 +01:00
|
|
|
CD ..
|
|
|
|
|
|
|
|
echo ##teamcity[progressMessage 'Release packaged']
|