github / github/copilot-cli

Installing a Specific Version Always Installs the Latest Version

Ouverte Adaptée aux débutants
#4,317 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

area:installation
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par examiner les instructions d’installation de la README et l’installateur invoqué via https://gh.io/copilot-install, puis reproduisez la commande VERSION="v1.0.75" de l’issue. Suivez le traitement de la version demandée et vérifiez que le binaire installé indique v1.0.75 plutôt que la dernière version publiée.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Clairement spécifiée
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.