Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Documentation issue - environment variable token not replaced #416

Closed
ghost opened this issue Feb 9, 2021 · 1 comment · Fixed by #449
Closed

CLI Documentation issue - environment variable token not replaced #416

ghost opened this issue Feb 9, 2021 · 1 comment · Fixed by #449
Assignees
Labels
docs Applies to the API docs or website is:bug pri:high

Comments

@ghost
Copy link

ghost commented Feb 9, 2021

The issue is on the CLI docs here https://lucenenet.apache.org/docs/4.8.0-beta00013/cli/index.html

The [EnvVar:LuceneNetVersion] didn't get replaced during the build and needs to be fixed. It should list the current lucene version being built, like: dotnet tool install lucene-cli -g --version 4.8.0-beta00013


Original issue:

I'm trying to install Lucene.net CLI

When I run the command dotnet tool install lucene-cli -g --version [EnvVar:LuceneNetVersion] I get an error: Specified version '[EnvVar:LuceneNetVersion]' is not a valid NuGet version range.

When I run the command dotnet --list-runtimes, I find that I have Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] while the prequisite is .NET Core 3.1.0 Runtime. I suppose that it's compatible, but I'm not sure.

I don't know how to fix this.
https://stackoverflow.com/questions/66107372/installing-lucene-net-cli?noredirect=1#comment116885324_66107372

@Shazwazza
Copy link
Contributor

This is a documentation build issue. [EnvVar:LuceneNetVersion] is a token that should have been replaced during the docs build.

Please use a real version number here instead like 4.8.0-beta00013

I'll try to get those docs fixed soon.

@Shazwazza Shazwazza changed the title Installing Lucene.net CLI CLI Documentation issue - environment variable token not replaced Feb 9, 2021
@NightOwl888 NightOwl888 added docs Applies to the API docs or website is:bug pri:high labels Feb 9, 2021
@NightOwl888 NightOwl888 self-assigned this Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Applies to the API docs or website is:bug pri:high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants