Add the $TargetFramework macro to the Release Builds

Add the $TargetFramework macro to the Release Builds
This commit is contained in:
Leigh Pointer
2024-12-06 13:37:37 +01:00
parent f010c0f1fa
commit 5ace34b5cd
8 changed files with 26 additions and 16 deletions

View File

@ -1,4 +1,7 @@
@echo off
set TargetFramework=%1
del "*.nupkg"
"..\..\[RootFolder]\oqtane.package\nuget.exe" pack [Owner].Module.[Module].nuspec
"..\..\[RootFolder]\oqtane.package\nuget.exe" pack [Owner].Module.[Module].nuspec -Properties targetframework=$(TargetFramework)
XCOPY "*.nupkg" "..\..\[RootFolder]\Oqtane.Server\Packages\" /Y