bazelbuild / bazelisk

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

Bazelisk does not print its version anymore in `1.18.0` when calling `bazelisk version` #516

Closed sitaktif closed 7 months ago

sitaktif commented 7 months ago

Bazelisk used to have a line containing Bazelisk version: ....

Bazelisk 1.17.0:

% bazelisk version
Bazelisk version: development
Build label: [...]
Build target: [...]
Build time: [...]
Build timestamp: [...]
Build timestamp as int: [...]

Bazelisk 1.18.0:

% bazelisk version
Build label: [...]
Build target: [...]
Build time: [...]
Build timestamp: [...]
Build timestamp as int: [...]

I would expect the line to still be present in 1.18.0, ideally with the correct version number. Alternatively, I would expect bazelisk to provide and alternate way to get its version.

AleksandrLiadov commented 7 months ago

Same issue

sitaktif commented 7 months ago

Apologies, I got confused because of symlink shenanigans.

Running /opt/homebrew/Cellar/bazelisk/1.18.0/bin/bazelisk version does give me a Bazelisk version line. I'll close the radar as this was about the presence of the line rather than about the value of the displayed version.