Skip to content

Commit 8d259b7

Browse files
authored
Merge pull request #3 from cnblogs/add-nuget-badge
feat: add nuget badge on readme file
2 parents ce75642 + 995c76f commit 8d259b7

File tree

3 files changed

+29
-19
lines changed

3 files changed

+29
-19
lines changed

Directory.Build.props

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<Project>
2-
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
<Nullable>enable</Nullable>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Authors>Cnblogs</Authors>
7-
<Description>An unofficial dotnet DashScope SDK maintained by cnblogs.</Description>
8-
<PackageProjectUrl>https://github.com/cnblogs/DashScopeSDK</PackageProjectUrl>
9-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10-
<RepositoryUrl>https://github.com/cnblogs/DashScopeSDK</RepositoryUrl>
11-
<RepositoryType>git</RepositoryType>
12-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFramework>net8.0</TargetFramework>
4+
<Nullable>enable</Nullable>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Authors>Cnblogs</Authors>
7+
<Description>An unofficial dotnet DashScope SDK maintained by cnblogs.</Description>
8+
<PackageProjectUrl>https://github.com/cnblogs/DashScopeSDK</PackageProjectUrl>
9+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
10+
<RepositoryUrl>https://github.com/cnblogs/DashScopeSDK</RepositoryUrl>
11+
<RepositoryType>git</RepositoryType>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
13+
</PropertyGroup>
1314

14-
<ItemGroup>
15-
<PackageReference Include="Cnblogs.CodeQuality" Version="1.8.1">
16-
<PrivateAssets>all</PrivateAssets>
17-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
18-
</PackageReference>
19-
</ItemGroup>
15+
<ItemGroup>
16+
<PackageReference Include="Cnblogs.CodeQuality" Version="1.8.1">
17+
<PrivateAssets>all</PrivateAssets>
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
</PackageReference>
20+
<None Include="README.md" Pack="true" PackagePath="\" />
21+
</ItemGroup>
2022
</Project>

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
English | [简体中文](README.zh-Hans.md)
1+
English | [简体中文](https://github.com/cnblogs/dashscope-sdk/blob/main/README.zh-Hans.md)
2+
3+
![NuGet Version](https://img.shields.io/nuget/v/Cnblogs.DashScope.Sdk?style=flat&logo=nuget&label=Cnblogs.DashScope.Sdk)
4+
5+
![NuGet Version](https://img.shields.io/nuget/v/Cnblogs.DashScope.AspNetCore?style=flat&logo=nuget&label=Cnblogs.DashScope.AspNetCore)
26

37
# Cnblogs.DashScopeSDK
48

README.zh-Hans.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
[English](README.md) | 简体中文
1+
[English](https://github.com/cnblogs/dashscope-sdk/blob/main/README.md) | 简体中文
2+
3+
![NuGet Version](https://img.shields.io/nuget/v/Cnblogs.DashScope.Sdk?style=flat&logo=nuget&label=Cnblogs.DashScope.Sdk)
4+
5+
![NuGet Version](https://img.shields.io/nuget/v/Cnblogs.DashScope.AspNetCore?style=flat&logo=nuget&label=Cnblogs.DashScope.AspNetCore)
26

37
# Cnblogs.DashScopeSDK
48

0 commit comments

Comments
 (0)