github / github/copilot-cli

Installing a Specific Version Always Installs the Latest Version

Abierto Apto para principiantes
#4,317 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

area:installation
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza revisando las instrucciones de instalación de la README y el instalador invocado mediante https://gh.io/copilot-install; después, vuelve a ejecutar el comando VERSION="v1.0.75" del issue. Rastrea cómo se gestiona la versión solicitada y verifica que el binario instalado informe v1.0.75 en lugar de la versión más reciente.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bien especificado
Aptitud para principiantes
68/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.