Commit cd4cca6
committed
fix: improve version comparison logic to avoid redundant updates
- Add proper version comparison using parse_version
- Only show updates when newer versions are available
- Fix issue showing same version as update (e.g. 1.3.6b2 → 1.3.6b2)
- Add separate checks for pre-release and stable versions
- Skip update prompt when current version is newest1 parent 017598c commit cd4cca6
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
85 | 96 | | |
86 | 97 | | |
87 | 98 | | |
| |||
0 commit comments