-
-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathRelease.bat
More file actions
15 lines (9 loc) · 688 Bytes
/
Release.bat
File metadata and controls
15 lines (9 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@ECHO off
DEL /q build
dotnet clean source -c Release
dotnet test source -c Release
IF %ERRORLEVEL% GTR 0 GOTO :end
dotnet pack source -c Release -o build /p:Version=0-local%Date:~6,4%%Date:~3,2%%Date:~0,2%%Time:~0,2%%Time:~3,2%%Time:~6,2% /p:SignAssembly=true
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net10.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Api\DefaultDocumentation.json
dotnet run --project source\DefaultDocumentation.Console\DefaultDocumentation.Console.csproj --framework net10.0 -c Release --ConfigurationFilePath source\DefaultDocumentation.Markdown\DefaultDocumentation.json
:end