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

updater: Compare all parts of the version number #1018

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Jan 17, 2023

Explain the Pull Request

This should fix the case where comparing '0.12.0b164' with '0.12.0a169' results in it claiming the former is newer. Also should fix the case where stable releases would always be treated as older.

Fixes #1015

Completion Checklist

  • This has been tested on the following platforms:
    • MacOS 10.15
    • MacOS 11
    • MacOS 12
    • Ubuntu 20.04
    • Ubuntu 22.04
    • Windows 10
    • Windows 11
  • The copyright headers and license files have been updated.
  • I will maintain this for the forseeable future, and have added myself to CODEOWNERS.

This should fix the case where comparing '0.12.0b164' with '0.12.0a169' results in it claiming the former is newer. Also should fix the case where stable releases would always be treated as older.

Fixes #1015
@Xaymar Xaymar merged commit 8d894fb into root Jan 17, 2023
@Xaymar Xaymar deleted the patch/version-compare branch January 17, 2023 12:38
@Xaymar Xaymar added this to the 0.12 milestone Mar 18, 2023
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.

Update detection marks b164 as newer than a169
1 participant