Consider switching to use .bazelversion
Opened this issue · 0 comments
celskeggs commented
It looks like bazel version pinning might be better supported now by upstream.
The 2.0 release blog post says the following:
Bazel's Debian package and the binary installer now include an improved wrapper that understands /.bazelversion files and the $USE_BAZEL_VERSION environment variable. This is similar to what Bazelisk offers, except that it works offline and integrates with apt-get.
This might reasonably be able to replace our existing bazel versioning system. I don't think it matters too much right now, but the next time we do a significant version update for bazel, it might be worth switching to this mechanism instead, so that we don't have to carry code specifically for managing bazel versions.