bazelbuild / bazelisk

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

`last_rc` was returning a 6.3.2 release candidate even though 6.3.2 was released #499

Open brentleyjones opened 9 months ago

brentleyjones commented 9 months ago

last_rc points to the most recent release candidate. If there is no active release candidate, Bazelisk uses the latest Bazel release instead.

That statement no longer holds, which seems like a bug to me. Hard to test right now, because the 6.4.0 release candidate was just pushed out, but if the bug exists as I understand it, once 6.4.0 proper is released, last_rc won't download it.

peakschris commented 6 months ago

We have the same issue with Bazel 7:

D:\adir>cat .bazelversion
last_rc

D:\adir>bazel --version
bazel 7.0.0rc7

D:\adir>rm .bazelversion

D:\adir>bazel --version
bazel 7.0.0
fmeum commented 6 months ago

CC @meteorcloudy @fweikert