You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails this test:
+{{if (eq (Compare .Version "6.2.0") -1)}}
With .Version == 6.1.119
Which it should not.
Conclusion - go package semver is as rotten as all the rest of the version comparisons I've seen while searching for version comparison packages. So we'll have to write our own.
TBC - the comparison works for 6.6.x and stable (6.12.x). That 6.1.119 is considered greater than or equal to 6.2.0 shows how completely useless semver is for our circumstances.
peridot/tools/kernelmanager/packager/v1/v1.go
Lines 44 to 80 in d83f0a2
Expected results
6.1 < 6.12
Actual results
6.1 > 6.12
The text was updated successfully, but these errors were encountered: