nuget自动发布脚本

@echo off
set url=nuget服务器
set pwd=发布密码

echo "start Wxy.DbEntryMembership"
cd Wxy.DbEntryMembership
del *.nupkg
..\NuGet.exe pack
..\NuGet.exe push *.nupkg -s %url% %pwd%
cd ..\

echo "start Wxy.Common"
cd Wxy.Common
del *.nupkg
..\NuGet.exe pack
..\NuGet.exe push *.nupkg -s %url% %pwd%
cd ..\

echo "start Wxy.Web"
cd Wxy.Web
del *.nupkg
..\NuGet.exe pack
..\NuGet.exe push *.nupkg -s %url% %pwd%
cd ..\

echo "nuget ok"
cmd

原文地址:https://www.cnblogs.com/shiningrise/p/2856983.html