Include License and Readme in nuget package

This commit is contained in:
2025-08-01 18:25:45 +02:00
parent cfdad2e83f
commit 77a061bd35
4 changed files with 12 additions and 3 deletions
+8 -1
View File
@@ -1,9 +1,16 @@
<Project>
<PropertyGroup>
<Version>0.1.0</Version>
<Version>0.2.0</Version>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)LICENSE.txt" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) [year] [fullname]
Copyright (c) 2025 Alexandru Macocian
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+2 -1
View File
@@ -1,6 +1,7 @@
# TrailBlazr
[![CI](https://github.com/your-username/TrailBlazr/actions/workflows/ci.yaml/badge.svg)](https://github.com/your-username/TrailBlazr/actions/workflows/ci.yaml)
[![CI](https://github.com/AlexMacocian/TrailBlazr/actions/workflows/ci.yaml/badge.svg)](https://github.com/AlexMacocian/TrailBlazr/actions/workflows/ci.yaml)
[![CD](https://github.com/AlexMacocian/TrailBlazr/actions/workflows/cd.yaml/badge.svg)](https://github.com/AlexMacocian/TrailBlazr/actions/workflows/cd.yaml)
[![NuGet](https://img.shields.io/nuget/v/TrailBlazr.svg)](https://www.nuget.org/packages/TrailBlazr/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
+1
View File
@@ -11,6 +11,7 @@
<File Path=".github/workflows/ci.yaml" />
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="LICENSE.txt" />
<File Path="README.md" />
</Folder>
<Project Path="TrailBlazr.Tests/TrailBlazr.Tests.csproj" />