Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Simpler version check because we do not need to know about pre-release versions when checking for updates #276

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

mburumaxwell
Copy link
Contributor

Use System.Version to check for new versions instead of some complex version library for semantic versioning because

  1. We do not advice updating to pre-release versions automatically (e.g. 1.0.0-beta or 1.12.1-pr0271-0047).
  2. Should this change, we can use:

Official support was requested but has not been added yet: dotnet/runtime#19317

…e versions when checking for updates

Use `System.Version` to check for new versions instead of some complex version library for semantic versioning because
1. We do not advice updating to pre-release versions automatically (e.g. 1.0.0-beta or 1.12.1-pr0271-0047).
2. Should this change, we can use:
   - NuGet.Versioning (https://www.nuget.org/packages/NuGet.Versioning/)
   - Semver (https://www.nuget.org/packages/Semver/)
   - SemanticVersioning (https://www.nuget.org/packages/SemanticVersioning/)

Official support was requested but has not been added yet: dotnet/runtime#19317
@mburumaxwell mburumaxwell force-pushed the simple-version-check branch from ee58b2a to 176ac71 Compare June 7, 2024 09:11
@mburumaxwell mburumaxwell merged commit d6d181d into main Jun 7, 2024
10 of 11 checks passed
@mburumaxwell mburumaxwell deleted the simple-version-check branch June 7, 2024 09:22
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.

1 participant