Skip to content

Commit

Permalink
release 1.0.6 for enum serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
endink committed Feb 10, 2023
1 parent dea5d7d commit d1c4921
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,5 @@ ModelManifest.xml
# FAKE - F# Make
.fake/
/test/Swifty.Benchmark/BenchmarkDotNet.Artifacts/results

/nupkgs/**/*
6 changes: 4 additions & 2 deletions Thrifty.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2009
# Visual Studio Version 16
VisualStudioVersion = 16.0.32929.386
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AD94B480-F25E-4869-B55E-0674490BF85A}"
EndProject
Expand All @@ -13,8 +13,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
GlobalAssemblyInfo.cs = GlobalAssemblyInfo.cs
LICENSE = LICENSE
nuget-push.bat = nuget-push.bat
packge.bat = packge.bat
README.md = README.md
run-benchmark.bat = run-benchmark.bat
shared.props = shared.props
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{30339955-A358-4D08-923E-82BFA5DF2B97}"
Expand Down
34 changes: 34 additions & 0 deletions packge.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
set PROJ_DIR=%~dp0src
set OUT=%~dp0nupkgs
dotnet pack %PROJ_DIR%\Thrifty.Core\Thrifty.Core.csproj --output %OUT% -c Release
dotnet pack %PROJ_DIR%\Thrifty.MicroServices\Thrifty.MicroServices.csproj --output %OUT% -c Release
dotnet pack %PROJ_DIR%\Thrifty.Nifty\Thrifty.Nifty.csproj --output %OUT% -c Release
dotnet pack %PROJ_DIR%\Thrifty.Nifty.Client\Thrifty.Nifty.Client.csproj --output %OUT% -c Release
dotnet pack %PROJ_DIR%\Thrifty.Services\Thrifty.Services.csproj --output %OUT% -c Release


@echo off
setlocal enabledelayedexpansion

echo 删除符号:
for /R %OUT% %%f in (*.symbols.nupkg) do (
del /f /q %%f
)


echo 要发布的包:
for /R %OUT% %%f in (*.nupkg) do (
echo publish %%f
)


set /p input=确认按 y, 取消按任意键。

if /i not "%input%"=="y" goto exit

for /R %dir% %%f in (*.nupkg) do (
echo 开始上传 %%f
dotnet nuget push %%f -s https://api.nuget.org/v3/index.json
)

pause
5 changes: 5 additions & 0 deletions shared.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.0.6</VersionPrefix>
</PropertyGroup>
</Project>
3 changes: 1 addition & 2 deletions src/Thrifty.Core/Thrifty.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>An attribute-based library for creating Thrift serializable types and services. Core library that include Thrifty for dotnet core.</Description>
<Copyright>Copyright labijie.com</Copyright>
<AssemblyTitle>Thrifty.Core</AssemblyTitle>
Expand All @@ -22,7 +21,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>

<Import Project="..\..\shared.props" />
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Thrifty.MicroServices/Thrifty.MicroServices.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>An attribute-based library for creating Thrift serializable types and services.</Description>
<Copyright>Copyright labijie.com</Copyright>
<AssemblyTitle>Thrifty.MicroServices</AssemblyTitle>
Expand All @@ -24,7 +23,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>

<Import Project="..\..\shared.props" />
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Thrifty.Nifty.Client/Thrifty.Nifty.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>An attribute-based library for creating Thrift serializable types and services, implementation of Thrift clients and servers on DotNetty.</Description>
<Copyright>Copyright labijie.com</Copyright>
<AssemblyTitle>Thrifty.Nifty.Client</AssemblyTitle>
Expand All @@ -24,7 +23,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>

<Import Project="..\..\shared.props" />
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Thrifty.Nifty/Thrifty.Nifty.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>An attribute-based library for creating Thrift serializable types and services, implementation of Thrift clients and servers on DotNetty.</Description>
<Copyright>Copyright labijie.com</Copyright>
<AssemblyTitle>Thrifty.Nifty</AssemblyTitle>
Expand All @@ -21,7 +20,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>

<Import Project="..\..\shared.props" />
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions src/Thrifty.Services/Thrifty.Services.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<VersionPrefix>1.0.5</VersionPrefix>
<Description>An attribute-based library for creating Thrift serializable types and services, implementation of Thrift clients and servers on DotNetty.</Description>
<Copyright>Copyright labijie.com</Copyright>
<AssemblyTitle>Thrifty.Services</AssemblyTitle>
Expand All @@ -25,7 +24,7 @@
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
</PropertyGroup>

<Import Project="..\..\shared.props" />
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
</ItemGroup>
Expand Down

0 comments on commit d1c4921

Please sign in to comment.