Skip to content

fix: only flag an update when the latest release is actually newer#116

Open
gnzng wants to merge 1 commit into
AdvancedPhotonSource:mainfrom
gnzng:fix/update-check-version-compare
Open

fix: only flag an update when the latest release is actually newer#116
gnzng wants to merge 1 commit into
AdvancedPhotonSource:mainfrom
gnzng:fix/update-check-version-compare

Conversation

@gnzng

@gnzng gnzng commented Jul 16, 2026

Copy link
Copy Markdown

The update check used string inequality (tag != __VERSION__), so running from source ahead of the latest release (e.g. 1.0.3 vs v1.0.2) showed "Update available" for what would be a downgrade. Now versions are parsed into numeric tuples and compared with >, which also handles 1.0.10 vs 1.0.9 etc. correctly.

image

with fix:
image

@pecomyint
pecomyint requested a review from Osayi-ANL July 18, 2026 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant