Skip to content

Fix installer latest release selection#299

Merged
github-actions[bot] merged 2 commits into
mainfrom
spboyer/fix-installer-release-selection
May 25, 2026
Merged

Fix installer latest release selection#299
github-actions[bot] merged 2 commits into
mainfrom
spboyer/fix-installer-release-selection

Conversation

@spboyer

@spboyer spboyer commented May 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Update Bash and PowerShell installers to scan GitHub releases and select the first standalone CLI semver tag (vX.Y.Z) instead of relying on /releases/latest.
  • Add installer regression tests that ensure azd extension releases are skipped and the CLI release is used.
  • Clarify install docs to describe standalone CLI release selection.

Validation

  • go test ./...
  • go vet ./...
  • cd site && npm ci && npm run build

Closes #296

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 25, 2026 14:06
@github-actions github-actions Bot enabled auto-merge (squash) May 25, 2026 14:07

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 fixes installer “latest release” selection by avoiding GitHub’s /releases/latest endpoint (which can point to azd extension releases) and instead selecting the newest standalone CLI semver tag, with regression tests and docs updates to match.

Changes:

  • Update install.sh and install.ps1 to scan GitHub releases and pick the first semver vX.Y.Z-style tag.
  • Add Go regression tests that validate extension releases are skipped and the CLI release tag is chosen.
  • Update install documentation to describe “latest standalone CLI release” behavior.
Show a summary per file
File Description
install.sh Switches from /releases/latest to scanning releases for a standalone semver tag.
install.ps1 Updates release tag selection logic to filter for semver tags from the releases list.
install_scripts_test.go Adds regression tests for Bash and PowerShell installer release selection.
README.md Clarifies that installers fetch the latest standalone CLI release.
docs/GUIDE.md Updates binary install description to mention standalone CLI release selection.
site/src/content/docs/reference/releases.mdx Clarifies release selection behavior in the install docs page.

Copilot's findings

  • Files reviewed: 6/6 changed files
  • Comments generated: 6

Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.sh Outdated
Comment thread install.ps1 Outdated
Comment thread docs/GUIDE.md Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot merged commit f93ca4c into main May 25, 2026
5 checks passed
@spboyer spboyer mentioned this pull request Jun 6, 2026
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.

Binary instlation script does not work and failed to install

3 participants