Skip to content

Allow specifying a version for the install script - #773

Merged
devm33 merged 1 commit into
mainfrom
devm33/install-pinned
Dec 12, 2025
Merged

Allow specifying a version for the install script#773
devm33 merged 1 commit into
mainfrom
devm33/install-pinned

Conversation

@devm33

@devm33 devm33 commented Dec 12, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 12, 2025 20:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the ability to specify a version for the GitHub Copilot CLI install script via a VERSION environment variable. The script now supports installing specific releases instead of always defaulting to the latest version.

  • Adds VERSION environment variable support with automatic 'v' prefix handling
  • Updates documentation to inform users about the new VERSION option
  • Constructs appropriate GitHub release URLs based on whether VERSION is set

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
install.sh Implements VERSION variable handling with 'v' prefix logic and conditional URL construction for specific releases vs latest
README.md Documents the new VERSION environment variable option and its default behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread install.sh
Comment thread README.md
Comment thread install.sh
Comment thread install.sh
@devm33
devm33 merged commit dc98c1b into main Dec 12, 2025
9 checks passed
@devm33
devm33 deleted the devm33/install-pinned branch December 16, 2025 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants