Skip to content

Commit

Permalink
lucene-cli: Downgraded back to netcoreapp3.1 and added a roll-forward…
Browse files Browse the repository at this point in the history
… policy for all higher major .NET runtime versions. This means we only have 1 set of binaries to deploy.
  • Loading branch information
NightOwl888 committed Nov 3, 2022
1 parent c076e40 commit 5ea9dba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dotnet/tools/lucene-cli/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Lucene.NET command line interface (CLI) tools
# Lucene.NET command line interface (CLI) tools

The Lucene.NET command line interface (CLI) is a new cross-platform toolchain with utilities for maintaining Lucene.NET and demos for learning basic Lucene.NET functionality.

## Prerequisites

- [.NET 5.0 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet)
- [.NET Core 3.1 Runtime or Higher](https://dotnet.microsoft.com/en-us/download/dotnet)

## Installation

Expand Down
4 changes: 3 additions & 1 deletion src/dotnet/tools/lucene-cli/lucene-cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
<Import Project="$(SolutionDir).build/nuget.props" />

<PropertyGroup>
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<!-- Reference: https://natemcmaster.com/blog/2019/01/09/netcore-primitives-3/#automatically-run-on-higher-versions -->
<RollForward Label="If .NET Core 3.1 runtime is not installed, use next lowest major vesion that is.">Major</RollForward>

<IsPublishable>true</IsPublishable>
<IsPublishable Condition="$(TargetFramework.StartsWith('net4'))">false</IsPublishable>
Expand Down

0 comments on commit 5ea9dba

Please sign in to comment.