Repository navigation
fix(cli): report the desktop version from the bundled CLI - #2758
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Found 1 test failure on Blacksmith runners: Failure
|
This branch was successfully deployed
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.
cap --versionfrom the bundled CLI printedcap 0.1.0in every desktop build, including the 0.6.1 release build. So didcap doctor, the MCP server's info, and the CLI's API user agent. Thecapcrate kept its original 0.1.0 version, and the release stamping only versions the Tauri and GPUI manifests.apps/cliis bumped to the desktop version (0.6.1, with itsCargo.lockentry), so committed builds already match.scripts/sync-desktop-versions.mjs(run bydesktop-release.yml,ci.ymlandbuild-gpui-binary.sh) now also syncs the CLI manifest from the desktop version. Nightlies and promoted builds then report e.g.0.6.2-nightly.…from the CLI too.Found while testing the signed 0.6.1 build:
Cap.app/Contents/MacOS/cap-cli --version→cap 0.1.0.

Confidence Score: 5/5
The PR appears safe to merge.Summary
The PR makes the bundled CLI report the desktop version.
Reviews (1) · Last reviewed commit: "fix(cli): report the desktop version fro..." · Reviewed by Greptile