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
use github.com/cockroachdb/version instead of pkg/util/version
CRDB versions are not semantic versions [1], but the version library
was designed to work with & correctly handle semvers. This change adopts
the version library from Cockroach Cloud (now extracted to its own
shared repo) to:
* More-strictly validate actual, valid CockroachDB versions
* Correctly order actual CockroachDB versions [2]
* Add a MajorVersion type to capture & order CRDB major versions
* Remove the word "minor" from the Version type [1]
[1] The "minor" version -- the Y in vX.Y.Z -- does not carry the same
meaning as in semver
[2] In particular, the "-cloudonly" release phase should sort after
"-rc"; semver sorts these phases alphabetically, but we must not, in
order to correctly order versions
Epic: None
Issue: RE-814
Release note: None
0 commit comments