加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Publish.bat 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
AlexLEWIS 提交于 2019-05-13 17:19 . Update README
@echo off
if not exist nuget_pub (
md nuget_pub
)
for /R "nuget_pub" %%s in (*) do (
del %%s
)
dotnet pack src/DotNetCore.Collections.Paginable -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.Chloe -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.DosOrm -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.EntityFrameworkCore -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.FreeSql -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.NHibernate -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.SqlKata -c Release -o ../../nuget_pub
dotnet pack src/DotNetCore.Collections.Paginable.SqlSugar -c Release -o ../../nuget_pub
for /R "nuget_pub" %%s in (*symbols.nupkg) do (
del %%s
)
echo.
echo.
set /p key=input key:
set source=https://www.nuget.org/api/v2/package
for /R "nuget_pub" %%s in (*.nupkg) do (
call nuget push %%s %key% -Source %source%
echo.
)
pause
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化