mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:36:30 +00:00
add loader and versioning
This commit is contained in:
@@ -2,22 +2,20 @@ echo Build .net app
|
||||
set CURRENT_DIR=%cd%
|
||||
cd /d %~dp0..
|
||||
|
||||
dotnet build -c Release
|
||||
|
||||
cd Azaion.Suite
|
||||
call postbuild.cmd Release
|
||||
call upload-file %cd%\config.secured.json
|
||||
call upload-file %cd%\config.system.json
|
||||
|
||||
dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
|
||||
dotnet publish -c Release -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
|
||||
cd ..\Azaion.LoaderUI
|
||||
dotnet publish -c Release -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
|
||||
cd ..
|
||||
|
||||
xcopy Azaion.Suite\bin\Release\net8.0-windows\win-x64\publish dist\ /s /e /q
|
||||
del dist\config.json
|
||||
move dist\config.production.json dist\config.json
|
||||
|
||||
robocopy "dist" "dist-azaion" "Azaion.Annotator.dll" "Azaion.Dataset.dll" "Azaion.Common.dll" "Azaion.CommonSecurity.dll" /MOV
|
||||
robocopy "dist" "dist-azaion" "Azaion.Suite.deps.json" "Azaion.Suite.dll" "Azaion.Suite.exe" "Azaion.Suite.runtimeconfig.json" "config.json" "logo.png" /MOV
|
||||
robocopy "dist" "dist-azaion" "Azaion.Annotator.dll" "Azaion.Dataset.dll" "Azaion.Common.dll" "Azaion.CommonSecurity.dll" "Azaion.Suite.dll" "Azaion.Suite.exe" /MOV
|
||||
robocopy "dist" "dist-azaion" "Azaion.Suite.runtimeconfig.json" "Azaion.Suite.deps.json" "config.json" "logo.png" /MOV
|
||||
robocopy "dist" "dist-azaion" "Azaion.LoaderUI.exe" "Azaion.LoaderUI.runtimeconfig.json" "Azaion.Suite.deps.json" "config.json" "logo.png" /MOV
|
||||
|
||||
if exist dist\libvlc\win-x86 rmdir dist\libvlc\win-x86 /s /q
|
||||
robocopy "dist" "dist-dlls" /E /MOVE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user