Tags: kevinwhzou/bazelisk
Tags
Add --//some/path:incompatible_some_flag as a valid incompatible flag… … format (bazelbuild#125) Closes bazelbuild#118
Display correct Bazel release which flips a flag (bazelbuild#105) The script will print "TBD" if the breaking release hasn't been determined yet. Fixes bazelbuild#104
Inc flags: Display Bazel release and GitHub Issue (bazelbuild#103) * Display the Bazel version of flags. Bazelisk now also displays the major Bazel release in which flags are supposed to be flipped. Required by bazelbuild/continuous-integration#869 * Print 'Bazel' as part of the version string * Also display the Issue URL for flags
Allow using local Bazel binaries. (bazelbuild#93) Bazel versions (e.g. in USE_BAZEL_VERSION or .bazelversion) can now refer to absolute paths on the filesystem. As an added convenience, a tilde prefix is expanded to the user's home directory. Example: ```sh $ USE_BAZEL_VERSION="~/bin/bazel-1.0" bazelisk ``` This would tell Bazelisk to not download any binaries and instead just directly use the Bazel binary in `$HOME/bin/bazel-1.0`.
Let Bazelisk correctly separate releases and metadata from Bazel forks. This fixes an issue where Bazelisk would accidentally reuse a cached binary or "latest releases" JSON from fork A, even when the version label refers fork B. Also make the documentation a bit clearer and remove outdated info from it.
Fix bazelbuild#61: Do not execute tools/bazel when BAZELISK_SKIP_WRAP… …PER is set. (bazelbuild#67) * Fix bazelbuild#61: Do not execute tools/bazel when BAZELISK_SKIP_WRAPPER is set. Bazelisk will set this environment variable when executing Bazel (or a wrapper found in <workspace_root>/tools/bazel). This prevents Bazelisk from executing itself in an infinite loop, in case the wrapper is Bazelisk or somehow executes Bazelisk. If you're using a wrapper in <workspace_root>/tools/bazel that downloads Bazelisk and delegates to it, please set the BAZELISK_SKIP_WRAPPER environment variable to ensure that Bazelisk directly executes Bazel. * Skip wrapper delegation tests on Windows
Add support for GitHub auth token (bazelbuild#62) This adds support for BAZELISK_GITHUB_TOKEN which is a GitHub token used for API requests when it is set. This fixes the issue of being on a shared network and getting rate limited when using bazelisk. Fixes bazelbuild#18
PreviousNext