Skip to content
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

lib: updater: fix semver comparison #3238

Merged
merged 1 commit into from
Apr 21, 2023
Merged

Conversation

maciek134
Copy link
Contributor

Fixes the comparison in updater to be semver-compatible.

I'd recommend bumping the version to 0.10.0 to make versions 0.9.2-0.9.9 show the update prompt.

Keep in mind that in semver 0.0.1 is more recent than 0.0.1-beta - and we should make sure the package.json version is in sync with the tag names, it will always scream for an update if it's a 0.10.0 tag and 0.10.0-beta in package.json

Flohack74
Flohack74 previously approved these changes Apr 20, 2023
Signed-off-by: Maciej Sopylo <me@klh.io>
@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (ee546ee) 84.05% compared to head (35b7168) 84.08%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3238      +/-   ##
==========================================
+ Coverage   84.05%   84.08%   +0.02%     
==========================================
  Files          32       32              
  Lines        1085     1087       +2     
==========================================
+ Hits          912      914       +2     
  Misses        173      173              
Impacted Files Coverage Δ
src/lib/updater.js 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Flohack74 Flohack74 merged commit 1f33754 into master Apr 21, 2023
@amartinz amartinz deleted the fix/version-comparison branch April 21, 2023 06:54
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.

None yet

2 participants