Skip to content

Commit

Permalink
Fixed banner display in NuGet README (#3)
Browse files Browse the repository at this point in the history
* Add files via upload
* Update banner url
* Exclude templates-github-banner.jpg from package
* Moved readme & icon to package root, fixed path to them

---------

Co-authored-by: Kirill Kovalev <kirill.kovalev@abblix.com>
  • Loading branch information
alexey-abblix and kirill-abblix authored Aug 23, 2024
1 parent 3b9ce76 commit 0e57152
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions Abblix.Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageProjectUrl>https://github.com/Abblix/Templates</PackageProjectUrl>
<RepositoryUrl>https://github.com/Abblix/Templates</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>content\Abblix.png</PackageIcon>
<PackageIcon>Abblix.png</PackageIcon>

<!-- Keep package type as 'Template' to show the package as a template package on nuget.org and make your template available in dotnet new search.-->
<PackageType>Template</PackageType>
Expand All @@ -21,7 +21,7 @@
<ContentTargetFolders>content</ContentTargetFolders>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<NoDefaultExcludes>true</NoDefaultExcludes>
<PackageReadmeFile>content\Nuget\README.md</PackageReadmeFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -33,8 +33,9 @@
</ItemGroup>

<ItemGroup>
<Content Include="Abblix.png" />
<Content Include="**\*" Exclude=".*\**;*;**\bin\**;**\obj\**;**\node_modules\**;**\.idea\**" />
<Content Include="Abblix.png" Link="README.md" Pack="true" PackagePath="" />
<Content Include=".\Nuget\README.md" Link="README.md" Pack="true" PackagePath="" />
<Content Include="**\*" Exclude=".*\**;*;**\bin\**;**\obj\**;**\node_modules\**;**\.idea\**;Nuget\**" />
<Compile Remove="**\*" />
</ItemGroup>

Expand Down
3 changes: 1 addition & 2 deletions Nuget/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[![Abblix Templates](https://resources.abblix.com/imgs/jpg/templates-github-banner.jpg)](https://github.com/Abblix/Templates)

[![Abblix Templates](https://raw.githubusercontent.com/Abblix/Templates/master/Nuget/templates-github-banner.jpg)](https://github.com/Abblix/Templates)
[![.NET](https://img.shields.io/badge/.NET-6.0%2C%207.0%2C%208.0-512BD4)](#)
[![language](https://img.shields.io/badge/language-C%23-239120)](https://learn.microsoft.com/ru-ru/dotnet/csharp/tour-of-csharp/overview)
[![OS](https://img.shields.io/badge/OS-linux%2C%20windows%2C%20macOS-0078D4)](#)
Expand Down
Binary file added Nuget/templates-github-banner.jpg
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 0e57152

Please sign in to comment.