Skip to content

Point CLI self-update to stable#2841

Open
heyitsaamir wants to merge 1 commit into
mainfrom
cli/self-update-latest
Open

Point CLI self-update to stable#2841
heyitsaamir wants to merge 1 commit into
mainfrom
cli/self-update-latest

Conversation

@heyitsaamir
Copy link
Copy Markdown
Collaborator

Summary

  • point CLI update checks and self-update installs at npm latest
  • update self-update expectations for npm/pnpm installs

This lets the final preview bridge and stable v3 both move users onto the stable CLI channel. Tiny but important.

Validation

  • npm -w @microsoft/teams.cli test -- self-update.test.ts update-info.test.ts
  • npm -w @microsoft/teams.cli run build

Copilot AI review requested due to automatic review settings May 15, 2026 18:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the Teams CLI self-update mechanism to use the npm latest dist-tag instead of preview, aligning update checks and install commands with the stable channel.

Changes:

  • Switched UPDATE_TAG from preview to latest for update checks/specs.
  • Updated self-update tests to expect @microsoft/teams.cli@latest for npm and pnpm install commands.

Reviewed changes

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

File Description
packages/cli/src/utils/update-info.ts Points update checks/spec to the latest dist-tag and registry endpoint.
packages/cli/tests/self-update.test.ts Updates assertions to match @latest self-update commands for npm/pnpm.

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