Skip to content

Conversation

@grendello
Copy link
Contributor

Fixes: #4929

Some releases of Ubuntu use only a single digit for their version, which
the Version class is not able to parse properly. Add a special case
to handle it.

Additionally, don't hardcode Ubuntu into error message, use the
actual (derived) distro name instead.

Fixes: dotnet#4929

Some releases of Ubuntu use only a single digit for their version, which
the `Version` class is not able to parse properly.  Add a special case
to handle it.

Additionally, don't hardcode `Ubuntu` into error message, use the
actual (derived) distro name instead.
@jonpryor jonpryor merged commit bb3a9dc into dotnet:master Jan 7, 2021
@grendello grendello deleted the ubuntu-version branch January 7, 2021 08:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Unable to parse string '20' as a valid Ubuntu release version

3 participants