mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
fix(cli): sync cli package version with product version to stop false update notice
In CLI Web mode, the frontend displays __APP_VERSION__ injected from the root package.json at build time (0.26.2), while the server-side getVersion() reads apps/cli/package.json at runtime (stuck at 0.25.1). This caused buildWebUpdateCheckResult to compare remote 0.26.2 against local 0.25.1, permanently reporting a false update notice even when the user was already on the latest version. Fix apps/cli/package.json to 0.26.2 to align with the product version. Also extend set_release_version.sh to keep apps/cli/package.json in sync with the root package.json on every release, preventing the drift from recurring. apps/desktop/package.json is intentionally kept at 0.0.0 (the desktop runtime uses app.getVersion() with __APP_VERSION__ fallback). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
674db15b69
commit
c80ee8b8ec
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "chatlab-cli",
|
||||
"version": "0.25.1",
|
||||
"version": "0.26.2",
|
||||
"description": "ChatLab CLI & Service - Chat history analysis tool",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
||||
Reference in new issue
Block a user