Skip to content

Commit

Permalink
更新项目元数据以改进 NuGet 展示
Browse files Browse the repository at this point in the history
在 `Snowflake.Redis.csproj` 和 `Snowflake.csproj` 文件中:
- 移除了 `<PackageIconUrl>` 元素。
- 添加了 `<PackageReadmeFile>` 元素,指向 `README.md` 文件。
- 添加了 `<PackageIcon>` 元素,指向 `snowflake.png` 文件。
- 添加了 `<PackageLicenseExpression>` 元素,指定许可证为 MIT。

这些更改改进了项目的描述和信息展示方式,使得包在 NuGet 上的展示更加丰富和直观,并明确了项目的许可证类型。
  • Loading branch information
hueifeng committed Aug 30, 2024
1 parent 21255d6 commit 3059948
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Snowflake.Redis/Snowflake.Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<RepositoryUrl>https://github.com/hueifeng/snowflake-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.3.1</Version>
<PackageIconUrl>https://raw.githubusercontent.com/hueifeng/snowflake-csharp/master/snowflake.png</PackageIconUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>snowflake.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 3 additions & 1 deletion Snowflake/Snowflake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<RepositoryUrl>https://github.com/hueifeng/snowflake-csharp</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.3.1</Version>
<PackageIconUrl>https://raw.githubusercontent.com/hueifeng/snowflake-csharp/master/snowflake.png</PackageIconUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>snowflake.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 3059948

Please sign in to comment.