Skip to content

Commit

Permalink
(#9) Add Chocolatey icon and information
Browse files Browse the repository at this point in the history
Now that we are pushing our own version of the nupkgs to NuGet.org, we
should update the nupkg information (including the icon) to be more
Chocolatey specific.  This is with an effort to ensure that there is no
ambiguity about what this package's intend use is.
  • Loading branch information
gep13 committed Dec 22, 2022
1 parent 6ab0442 commit 2b92946
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
8 changes: 7 additions & 1 deletion build/common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,13 @@
</PropertyGroup>

<ItemGroup Condition=" '$(PackProject)' == 'true' ">
<None Include="$(MSBuildThisFileDirectory)..\icon.png" Pack="true" PackagePath="\" Visible="false" />
<!-- //////////////////////////////////////////////////////////
// Start - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<None Include="$(MSBuildThisFileDirectory)..\chocolateyicon.png" Pack="true" PackagePath="\" Visible="false" />
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<None Include="$(MSBuildProjectDirectory)\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

Expand Down
28 changes: 23 additions & 5 deletions build/config.props
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,34 @@
<!-- Nuspec defaults -->
<PropertyGroup>
<Authors>Microsoft</Authors>
<PackageProjectUrl>https://aka.ms/nugetprj</PackageProjectUrl>
<!-- //////////////////////////////////////////////////////////
// Start - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<PackageProjectUrl>https://github.com/chocolatey/nuget.client</PackageProjectUrl>
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/NuGet/NuGet.Client</RepositoryUrl>
<PackageTags>nuget</PackageTags>
<Description>NuGet client library.</Description>
<!-- //////////////////////////////////////////////////////////
// Start - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<RepositoryUrl>https://github.com/chocolatey/nuget.client</RepositoryUrl>
<PackageTags>nuget;chocolatey</PackageTags>
<Description>Chocolatey NuGet client library.</Description>
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<Copyright>&#169; Microsoft Corporation. All rights reserved.</Copyright>
<Serviceable>true</Serviceable>
<PackageIcon>icon.png</PackageIcon>
<!-- //////////////////////////////////////////////////////////
// Start - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
<PackageIcon>chocolateyicon.png</PackageIcon>
<!-- //////////////////////////////////////////////////////////
// End - Chocolatey Specific Modification
////////////////////////////////////////////////////////// -->
</PropertyGroup>

<PropertyGroup>
Expand Down
Binary file added chocolateyicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2b92946

Please sign in to comment.