19 lines
942 B
Batchfile
19 lines
942 B
Batchfile
del "*.nupkg"
|
|
dotnet clean -c Release ..\Oqtane.sln
|
|
dotnet build -c Release ..\Oqtane.sln
|
|
nuget.exe pack Oqtane.Client.nuspec
|
|
nuget.exe pack Oqtane.Server.nuspec
|
|
nuget.exe pack Oqtane.Shared.nuspec
|
|
del /F/Q/S "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish" > NUL
|
|
rmdir /Q/S "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish"
|
|
dotnet publish ..\Oqtane.Server\Oqtane.Server.csproj /p:Configuration=Release
|
|
del "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish\appsettings.json"
|
|
ren "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish\appsettings.release.json" "appsettings.json"
|
|
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ".\install.ps1"
|
|
del "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish\appsettings.json"
|
|
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ".\upgrade.ps1"
|
|
del "..\Oqtane.Server\bin\Release\netcoreapp3.1\publish\Oqtane.Upgrade.*"
|
|
nuget.exe pack Oqtane.Framework.nuspec
|
|
|
|
|