Skip to content

Commit 0f27d3e

Browse files
committed
chore: add package assets and metadata
Include default packaging assets at the build props level so projects without local copies will include a readme, license and icon in produced packages. Add a project package description and broaden package tags to improve discoverability. Add the binary icon asset. Ensure consistent packaged contents and better metadata for consumers.
1 parent cd6cb2a commit 0f27d3e

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,12 @@
99
<ItemGroup Condition="$(PackAsTool) != 'true'">
1010
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.2.39" PrivateAssets="All"/>
1111
</ItemGroup>
12+
13+
<ItemGroup Label="PackageInfoFiles">
14+
<!-- Import the Readme at build props level if there is none in the project -->
15+
<None Condition="!Exists('README.md')" Include="$(_DirectoryBuildPropsBasePath)\README.md" Pack="true" PackagePath="/" />
16+
<None Include="$(MSBuildThisFileDirectory)\LICENSE" Pack="true" PackagePath="/" />
17+
<None Include="$(MSBuildThisFileDirectory)\icon.png" Pack="true" PackagePath="/" />
18+
</ItemGroup>
1219

1320
</Project>

YumeChan.RoleDeck.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
<Authors>Sakura Akeno Isayeki</Authors>
66
<Company>Nodsoft Systems</Company>
77
<Product>RoleDeck</Product>
8+
<Description>Roles management plugin for Yume-Chan</Description>
89
<RepositoryType>git</RepositoryType>
910
<RepositoryUrl>https://github.com/YumeChan-DT/RoleDeck</RepositoryUrl>
1011

1112
<OutDir>$(YumeChan_PluginsLocation)</OutDir>
1213
<OutputPath>$(YumeChan_PluginsLocation)</OutputPath>
1314
<Copyright>GNU-GPLv3</Copyright>
1415

15-
<PackageTags>yumechan,plugin</PackageTags>
16+
<PackageTags>discord,yumechan,plugin,roles,permissions</PackageTags>
1617
</PropertyGroup>
1718

1819
<ItemGroup>

icon.png

770 KB
Loading

0 commit comments

Comments
 (0)