Skip to content

make release candidate versions handling on BAZELISK_BASE_URL consistent with github url#722

Merged
fweikert merged 1 commit intobazelbuild:masterfrom
chrisirhc:chua/fix-rc-on-bazelisk-base
Oct 9, 2025
Merged

make release candidate versions handling on BAZELISK_BASE_URL consistent with github url#722
fweikert merged 1 commit intobazelbuild:masterfrom
chrisirhc:chua/fix-rc-on-bazelisk-base

Conversation

@chrisirhc
Copy link
Contributor

@chrisirhc chrisirhc commented Sep 11, 2025

The README states:

Bazelisk will then append /<VERSION>/<FILENAME> to the base URL instead of using the official release server.

<VERSION> typically includes the release candidate, e.g. 8.4.1rc2. But currently, it only appends 8.4.1 without the rc2.

This PR fixes this to 8.4.1rc2. It also make this more consistent with the github.com release urls, to make mirroring the github release urls simpler. This is a non-backwards compatible change, so we may want to introduce a new ENV var to prevent breakages with existing setups that are working.

If there's interest in this, I can leave add an environment variable to toggle it on, and leave it for V2 to turn it on by default.

@google-cla
Copy link

google-cla bot commented Sep 11, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@chrisirhc chrisirhc force-pushed the chua/fix-rc-on-bazelisk-base branch from 9a13a17 to a0ec9fe Compare September 11, 2025 08:54
Make this more consistent with the github.com release urls, for simpler mirrors.
This is a non-backwards compatible change, so we may want to introduce a new ENV var to prevent breakages with existing setups that are working.
@chrisirhc chrisirhc force-pushed the chua/fix-rc-on-bazelisk-base branch from a0ec9fe to 488f57f Compare September 11, 2025 09:36
@chrisirhc
Copy link
Contributor Author

Addressed CLA

@fweikert fweikert merged commit ea3fa7d into bazelbuild:master Oct 9, 2025
2 checks passed
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.

2 participants