Skip to content

Conversation

@fmeum
Copy link
Contributor

@fmeum fmeum commented Sep 18, 2024

This can be useful for scripts that want to know if they are running under Bazelisk and can also be used to run specific Bazel versions from within a Bazel run, e.g. to generate version-specific test data.

@fmeum
Copy link
Contributor Author

fmeum commented Sep 18, 2024

@meteorcloudy

Copy link
Member

@meteorcloudy meteorcloudy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fweikert might also want to take a look

@fweikert fweikert merged commit c6756d0 into bazelbuild:master Sep 19, 2024
@fmeum fmeum deleted the bazelisk-env branch September 19, 2024 12:58
zemnmez-renovate-bot added a commit to zemn-me/monorepo that referenced this pull request Sep 30, 2024
##### [`v1.22.0](https://github.com/bazelbuild/bazelisk/releases/tag/v1.22.0)

Bazelisk v1.22.0 comes with several significant changes:

### New Features (Go)

-   Bazelisk sets the `BAZELISK` env variable so that scripts can detect whether they're running under Bazelisk (bazelbuild/bazelisk#612)
-   `--bisect` now supports finding the first *fixing* commit by prefixing the range with `~` (bazelbuild/bazelisk#613)

### Removed Features (Go)

-   Removed support for `last_downstream_green` since the downstream pipeline stopped producing green commits some time ago.

### Bug Fixes & Improvements

-   Improved `last_green` support (bazelbuild/bazelisk#614)

We’d like to thank our amazing contributors [@fmeum](https://github.com/fmeum) and [@jwnimmer-tri](https://github.com/jwnimmer-tri)!
github-merge-queue bot pushed a commit to zemn-me/monorepo that referenced this pull request Sep 30, 2024
##### [`v1.22.0](https://github.com/bazelbuild/bazelisk/releases/tag/v1.22.0)

Bazelisk v1.22.0 comes with several significant changes:

### New Features (Go)

-   Bazelisk sets the `BAZELISK` env variable so that scripts can detect whether they're running under Bazelisk (bazelbuild/bazelisk#612)
-   `--bisect` now supports finding the first *fixing* commit by prefixing the range with `~` (bazelbuild/bazelisk#613)

### Removed Features (Go)

-   Removed support for `last_downstream_green` since the downstream pipeline stopped producing green commits some time ago.

### Bug Fixes & Improvements

-   Improved `last_green` support (bazelbuild/bazelisk#614)

We’d like to thank our amazing contributors [@fmeum](https://github.com/fmeum) and [@jwnimmer-tri](https://github.com/jwnimmer-tri)!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants