Fix release scripts to explicitly build Client before packing (prevents infinite loop)

This commit is contained in:
Adam Gaiswinkler
2025-12-10 16:36:04 +01:00
parent 0d32b1747c
commit 1061cc9955
2 changed files with 4 additions and 2 deletions

View File

@ -3,4 +3,5 @@ set TargetFramework=%1
set ProjectName=%2
if exist *.nupkg del *.nupkg
dotnet pack "%ProjectName%.Package.csproj" -p:NuspecFile="%ProjectName%.nuspec" -p:NuspecProperties="targetframework=%TargetFramework%;projectname=%ProjectName%" -o .
dotnet build "..\Client\SZUAbsolventenverein.Theme.Website.Client.csproj" -c Release
dotnet pack "%ProjectName%.Package.csproj" -p:NuspecFile="%ProjectName%.nuspec" -p:NuspecProperties="targetframework=%TargetFramework%;projectname=%ProjectName%" --no-build -o .