Skip to content

Commit

Permalink
发布5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Coldairarrow committed Nov 28, 2020
1 parent 12e84d5 commit c04c676
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions nuget-publish.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
::定义版本
set EFCore_Sharding=3.1.8.4
set EFCore_Sharding_2x=2.40.8.4
set EFCORE5=5.0.0.0
set EFCORE3=3.1.8.5
set EFCORE2=2.40.8.5

::删除所有bin与obj下的文件
@echo off
Expand All @@ -18,7 +19,7 @@ echo 清理完成
::构建
dotnet build -c Release
::推送
for /r %nowpath% %%i in (*.nupkg) do (dotnet nuget push %%i --api-key --source https://api.nuget.org/v3/index.json)
for /r %nowpath% %%i in (*.nupkg) do (dotnet nuget push %%i --api-key oy2br5ezzddc24grb2jqztnbn7hjnqye3jfum3nivawibe --source https://api.nuget.org/v3/index.json)

echo 完成
pause
2 changes: 2 additions & 0 deletions src/EFCore.Sharding.2x/EFCore.Sharding.2x.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(EFCORE2)</Version>
<DefineConstants>TRACE;DEBUG;EFCORE2</DefineConstants>
<AssemblyName>EFCore.Sharding</AssemblyName>
<RootNamespace>EFCore.Sharding</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
2 changes: 2 additions & 0 deletions src/EFCore.Sharding.3x/EFCore.Sharding.3x.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
<Version>$(EFCORE3)</Version>
<DefineConstants>TRACE;DEBUG;EFCORE3</DefineConstants>
<AssemblyName>EFCore.Sharding</AssemblyName>
<RootNamespace>EFCore.Sharding</RootNamespace>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<LangVersion>8.0</LangVersion>
<AssemblyName>EFCore.Sharding.SqlServer</AssemblyName>
<RootNamespace>EFCore.Sharding.SqlServer</RootNamespace>
<DefineConstants>EFCORE3</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>$(EFCORE5)</Version>
<DefineConstants>TRACE;EFCORE3</DefineConstants>
<LangVersion>8.0</LangVersion>
<DefineConstants>EFCORE5</DefineConstants>
</PropertyGroup>
Expand Down

0 comments on commit c04c676

Please sign in to comment.