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/archive/2013/01/11/2856983.html

你可能感兴趣的:(nuget自动发布脚本)