Download release artifacts from builds.clickhouse.com; bump to 0.2.3#201
Merged
Conversation
Switch every download path — self-update, install.sh, npm postinstall, and cargo-binstall metadata — from GitHub Releases to https://builds.clickhouse.com/clickhousectl/. The "what is the latest version" check still uses the GitHub releases API, since builds.clickhouse.com has no listing endpoint. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
iskakaushik
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://builds.clickhouse.com/clickhousectl/: the self-updatecommand,install.sh, the npm postinstall script, and thecargo-binstallmetadata.builds.clickhouse.comhas no listing/latestendpoint, so we use GH for discovery and pull the actual artifact from CDN.crates/clickhousectl/Cargo.toml(incl.clickhouse-cloud-apidep),crates/clickhouse-cloud-api/Cargo.toml, andnpm/package.json. README updated to point at the new artifact host.Test plan
cargo build/cargo clippy -p clickhousectlcleancargo test -p clickhousectl update::(unit tests for version parsing + archive extraction)clickhousectl updatewith a spoofed-older version, confirming the binary is fetched frombuilds.clickhouse.comsh -x install.shshows the new download URLnode npm/install.jsdownloads and extracts the binary🤖 Generated with Claude Code