|
@@ -8,7 +8,7 @@ set basePath=%cd%
|
|
|
set nugetPath=%basePath%/Publish/release/release/nuget
|
|
|
|
|
|
::(x.2)查找所有需要发布nuget的项目并发布
|
|
|
-for /f "delims=" %%f in ('findstr /M /s /i "<pack/>" *.csproj') do (
|
|
|
+for /f "delims=" %%f in ('findstr /M /s /i "<pack>nuget</pack>" *.csproj') do (
|
|
|
echo pack %basePath%\%%f\..
|
|
|
cd /d "%basePath%\%%f\.."
|
|
|
dotnet build --configuration Release
|