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
{{ message }}
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
Currently semver_geq("7.0.0", "6") is true but semver_geq("7.0.0-rc1", "6") is false (due to the semver crate always returning false when comparing pre-release with non-pre-releases). Need fix.
The text was updated successfully, but these errors were encountered:
This may actually require either finding another semver crate or writing our own semver implementation... So before we move on @mechtaev can we discuss the exact semantic we want for semver_*...?
The official website has a specification: https://semver.org/. I have not seen anything there that forbids comparing pre-release with non-pre-releases, so it seems like a bug to me.
Currently
semver_geq("7.0.0", "6")
is true butsemver_geq("7.0.0-rc1", "6")
is false (due to the semver crate always returning false when comparing pre-release with non-pre-releases). Need fix.The text was updated successfully, but these errors were encountered: