Files
admin d326341488
Build und Test / build (push) Has been cancelled
Initial commit: BizTalk IIS inventory with DOCX reporting
2026-07-24 15:32:18 +02:00

25 lines
826 B
Batchfile

@echo off
setlocal EnableExtensions
set "ROOT=%~dp0.."
set "BIN=%ROOT%\src\BizTalkIisEnvironmentInventory\bin\Release\net472"
set "ARTIFACTS=%ROOT%\artifacts"
set "DEPLOY=%ARTIFACTS%\BizTalkIisEnvironmentInventory-deploy"
call "%ROOT%\scripts\build-release.cmd"
if errorlevel 1 exit /b %ERRORLEVEL%
if exist "%DEPLOY%" rmdir /s /q "%DEPLOY%"
mkdir "%DEPLOY%"
copy "%BIN%\BizTalkIisEnvironmentInventory.exe" "%DEPLOY%\" >nul
copy "%BIN%\BizTalkIisEnvironmentInventory.exe.config" "%DEPLOY%\" >nul
if exist "%BIN%\BizTalkIisEnvironmentInventory.pdb" copy "%BIN%\BizTalkIisEnvironmentInventory.pdb" "%DEPLOY%\" >nul
copy "%ROOT%\deployment\run-inventory.cmd" "%DEPLOY%\" >nul
copy "%ROOT%\Readme.md" "%DEPLOY%\" >nul
copy "%ROOT%\Dokumentation.md" "%DEPLOY%\" >nul
echo Deployment-Ordner erstellt:
echo %DEPLOY%
exit /b 0