github / github/copilot-cli

Installing a Specific Version Always Installs the Latest Version

Đang mở Phù hợp với người mới
#4,317 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

area:installation
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

Describe the bug

I wanted to downgrade Copilot in Docker Sandbox because the latest version is not working correctly. Following the installation instructions from the README, I attempted to install version v1.0.75. However, regardless of the version specified, the installer always installs the latest available version.

Reproduced in WSL and Docker Sandboxes

Affected version

No response

Steps to reproduce the behavior
  1. Install latest version curl -fsSL https://gh.io/copilot-install | bash
  2. Delete installed binary rm ~/.local/bin/copilot
  3. Attempt to install a specific version curl -fsSL https://gh.io/copilot-install | VERSION="v1.0.75" bash
Expected behavior

Version v1.0.75 is installed

Additional context
agent@copilot:/$ curl -fsSL https://gh.io/copilot-install | VERSION="v1.0.75" bash
Installing GitHub Copilot CLI...
Downloading from: https://github.com/github/copilot-cli/releases/download/v1.0.75/copilot-linux-x64.tar.gz
✓ Checksum validated
✓ GitHub Copilot CLI installed to /home/agent/.local/bin/copilot

Installation complete! Run 'copilot help' to get started.
agent@copilot:/$ copilot --version
GitHub Copilot CLI 1.0.77.
Run 'copilot update' to check for updates.
agent@copilot:/$ which copilot
/home/agent/.local/bin/copilot

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách xem lại hướng dẫn cài đặt trong README và trình cài đặt được gọi thông qua https://gh.io/copilot-install, sau đó tái hiện lệnh VERSION="v1.0.75" từ issue. Theo dõi cách phiên bản được yêu cầu được xử lý và xác minh rằng binary đã cài đặt báo cáo v1.0.75 thay vì bản phát hành mới nhất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.