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 04a0d3f commit ac5f913
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 ac5f913

Please sign in to comment.