Skip to content

Commit

Permalink
Add LICENSE.txt to packages
Browse files Browse the repository at this point in the history
We use PackageLicenseExpression, but all the actual text
into the packages as well. Fixes #157.
  • Loading branch information
mhutch committed Oct 2, 2023
1 parent 79742bb commit 5d13d8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.133" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="LICENSE.txt" Visible="False" />
</ItemGroup>

<!-- reproducible build -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
Expand Down

0 comments on commit 5d13d8b

Please sign in to comment.