diff --git a/.gitignore b/.gitignore index 940794e..081d84f 100644 --- a/.gitignore +++ b/.gitignore @@ -286,3 +286,4 @@ __pycache__/ *.btm.cs *.odx.cs *.xsd.cs +/nupkgs diff --git a/README.md b/README.md index bf2c7ea..5739642 100644 --- a/README.md +++ b/README.md @@ -292,10 +292,10 @@ public class JT809_2019_Config : JT809GlobalConfigBase ## NuGet安装 -| Package Name | Version | Downloads -|--------------| ------- | ---- -| Install-Package JT809 | ![JT809](https://img.shields.io/nuget/v/JT809.svg) | ![JT809](https://img.shields.io/nuget/dt/JT809.svg) -| Install-Package JT809.Protocol.Extensions.JT1078 | ![JT809.Protocol.Extensions.JT1078](https://img.shields.io/nuget/v/JT809.Protocol.Extensions.JT1078.svg) | ![JT809](https://img.shields.io/nuget/dt/JT809.Protocol.Extensions.JT1078.svg) | +| Package Name | Version | Pre Version |Downloads +|--------------| ------- | ------- |---- +| Install-Package JT809 | ![JT809](https://img.shields.io/nuget/v/JT809.svg) | ![JT809](https://img.shields.io/nuget/vpre/JT809.svg) |![JT809](https://img.shields.io/nuget/dt/JT809.svg) +| Install-Package JT809.Protocol.Extensions.JT1078 | ![JT809.Protocol.Extensions.JT1078](https://img.shields.io/nuget/v/JT809.Protocol.Extensions.JT1078.svg) | ![JT809.Protocol.Extensions.JT1078](https://img.shields.io/nuget/vpre/JT809.Protocol.Extensions.JT1078.svg) |![JT809](https://img.shields.io/nuget/dt/JT809.Protocol.Extensions.JT1078.svg) | ## 使用BenchmarkDotNet性能测试报告(只是玩玩,不能当真) diff --git a/publish.bat b/publish.bat new file mode 100644 index 0000000..8630eaa --- /dev/null +++ b/publish.bat @@ -0,0 +1,3 @@ +dotnet pack .\src\JT809.Protocol\JT809.Protocol.csproj -c Release --output nupkgs +dotnet pack .\src\JT809.Protocol.Extensions\JT809.Protocol.Extensions.JT1078\JT809.Protocol.Extensions.JT1078.csproj -c Release --output nupkgs +pause \ No newline at end of file diff --git a/src/Info.props b/src/Info.props index 8cb1f92..5fbb770 100644 --- a/src/Info.props +++ b/src/Info.props @@ -16,5 +16,16 @@ true false README.md + true + embedded + + true + true + true + + + + + \ No newline at end of file diff --git a/src/JT809.Protocol.Extensions/JT809.Protocol.Extensions.JT1078/JT809.Protocol.Extensions.JT1078.csproj b/src/JT809.Protocol.Extensions/JT809.Protocol.Extensions.JT1078/JT809.Protocol.Extensions.JT1078.csproj index afadb68..f6dfab7 100644 --- a/src/JT809.Protocol.Extensions/JT809.Protocol.Extensions.JT1078/JT809.Protocol.Extensions.JT1078.csproj +++ b/src/JT809.Protocol.Extensions/JT809.Protocol.Extensions.JT1078/JT809.Protocol.Extensions.JT1078.csproj @@ -6,14 +6,13 @@ 基于JT809协议、GB809协议扩展的视频消息协议 基于JT809协议、GB809协议扩展的视频消息协议 JT809.Protocol.Extensions.JT1078.xml + README.md 1701;1702;1591 - - True - - + + diff --git a/src/JT809.Protocol/JT809.Protocol.csproj b/src/JT809.Protocol/JT809.Protocol.csproj index f6fe86b..1f419bd 100644 --- a/src/JT809.Protocol/JT809.Protocol.csproj +++ b/src/JT809.Protocol/JT809.Protocol.csproj @@ -6,6 +6,7 @@ JT809协议、GB809协议、道路运输车辆卫星定位系统-平台数据交换协议(支持2011、2019版本) JT809协议、GB809协议、道路运输车辆卫星定位系统-平台数据交换协议(支持2011、2019版本) JT809.Protocol.xml + README.md 1701;1702;1591 @@ -30,10 +31,8 @@ - - True - - + +