Add the $TargetFramework macro to the Release Builds
Add the $TargetFramework macro to the Release Builds
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user