-
Notifications
You must be signed in to change notification settings - Fork 299
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
Pre-release version precedence broken (osx) #102
Comments
I'm running in to this as well... Does anyone know how I might fix this? Thanks! |
It may be a naive (and/or temporary) fix, but missive/nuts@2089abf seems to have fixed that for us. |
I've cherry-picked missive@2089abf and indeed confirm this fixes the issue of the latest channel update wanted to download itself (e.g. However, this introduces a new issue, where a stable version does not take precedence over its channel (e.g. If #100 fixes that, then how can we help merging it? |
Still facing the same problem. |
Given a single released version
1.0.0-alpha.2
and the application running at the same version, I expect the/update/osx/:currentVersion
endpoint to return204 No content
. What I get back instead is the same version.This does not conform Semver 11:
"Precedence for two pre-release versions with the same major, minor, and patch version MUST be determined by comparing each dot separated identifier from left to right until a difference is found as follows: identifiers consisting of only digits are compared numerically and identifiers with letters or hyphens are compared lexically in ASCII sort order."
Example: https://gist.github.com/salomvary/25fd60240ea32ce6ac2698430bf56586
The text was updated successfully, but these errors were encountered: