github / github/copilot-cli

@github/copilot@prerelease installs, but copilot --version and copilot update still report 1.0.11

未關閉
#2,327 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:installation
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

Title: @github/copilot@prerelease installs, but copilot --version and copilot update still report 1.0.11

Body:

I’m seeing a mismatch between the prerelease npm tag and the installed CLI version on Windows.

Steps I took
Removed the winget package:
winget uninstall GitHub.Copilot.Prerelease
Installed npm prerelease:
npm install -g @github/copilot@prerelease --force
Verified installed package:
npm list -g --depth=0 @github/copilot
Verified the CLI:
copilot --version
copilot update
Removed the VS Code Copilot CLI shim so it would not shadow the npm binary.
Actual results
Installed npm package: @github/copilot@1.0.12-2
copilot --version returns: GitHub Copilot CLI 1.0.11
copilot update returns:
No update needed, current version is 1.0.11, fetched latest release is v1.0.11
Expected results
Installing @github/copilot@prerelease should produce a CLI that reports the prerelease version, or copilot update should target the prerelease channel.
Environment
Windows
PowerShell
npm prerelease tag:
latest: 1.0.11
prerelease: 1.0.12-2
Notes
I confirmed this is not a PATH/shim issue:

winget package was removed
VS Code Copilot CLI shim was removed
the npm binary is the one being executed
the CLI still reports 1.0.11

Made bug Copilot :)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。