Skip to content

Commit

Permalink
Embed the README in nupkg (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
natemcmaster authored Oct 13, 2021
1 parent b0191ef commit 0f1e8a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: "5.0.x"
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.0.x"
include-prerelease: true # required to workaround https://github.com/NuGet/Home/issues/10791
- name: Run build script
id: build_script
run: ./build.ps1 -ci
Expand Down
5 changes: 5 additions & 0 deletions src/LettuceEncrypt/LettuceEncrypt.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ renew the certificate automatically when the expiration date is near.

This only works with Kestrel, which is the default server configuration for ASP.NET Core projects. Other servers, such as IIS and nginx, are not supported.
</PackageDescription>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Certes" Version="2.3.4" />
</ItemGroup>
Expand Down

0 comments on commit 0f1e8a0

Please sign in to comment.