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

posted @ 2013-01-11 20:09  shiningrise  阅读(418)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css