|
@@ -14,7 +14,7 @@ export NUGET_PATH=$basePath/Publish/release/.nuget
|
|
|
|
|
|
if [ ! $NUGET_PATH ]; then NUGET_PATH=$basePath/Publish/release/.nuget; fi
|
|
|
|
|
|
-mkdir -p $basePath/Publish/release/release/nuget
|
|
|
+
|
|
|
nugetPath=Publish/release/release/nuget
|
|
|
|
|
|
|
|
@@ -31,6 +31,7 @@ cd /root/code
|
|
|
for file in \$(grep -a '<pack>nuget</pack>' . -rl --include *.csproj)
|
|
|
do
|
|
|
echo pack \$file
|
|
|
+ mkdir -p /root/code/$nugetPath
|
|
|
cd /root/code
|
|
|
cd \$(dirname \"\$file\")
|
|
|
dotnet build --configuration Release
|