bazelbuild / bazelisk

A user-friendly launcher for Bazel.
Apache License 2.0
1.95k stars 300 forks source link

`latest-1` is resolved as 7.0.0 instead of 6.4.0 #532

Open brentleyjones opened 5 months ago

brentleyjones commented 5 months ago

As title says:

❯ USE_BAZEL_VERSION=latest-1 bazel info release
Starting local Bazel server and connecting to it...
release 7.0.0
fweikert commented 4 months ago

The docs are a bit misleading - it was meant as "give me the previous non-rolling release", so technically it's WAI. However, I think it makes sense to have it return the most recent incompatible release prior to latest. I'll change this to a FR.