Skip to content

fix: use compiler version for standalone CLI distribution versioning#11157

Draft
timotheeguerin with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-cli-package-version-sync
Draft

fix: use compiler version for standalone CLI distribution versioning#11157
timotheeguerin with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-cli-package-version-sync

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

@typespec/standalone-cli follows a different version scheme (0.83.0) than @typespec/compiler (1.13.0). The publish pipeline was writing the standalone package version to latest.txt and blob storage paths, while tsp --version reports the compiler version — causing Scoop/winget/Homebrew listings to show a version users never see.

Changes

  • eng/tsp-core/pipelines/jobs/cli/publish-artifacts.yml: Changed workingDirectory for the version-reading step from packages/standalonepackages/compiler, so latest.txt and blob storage paths use the compiler version consistently with tsp --version output.

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix standalone cli package version mismatch fix: use compiler version for standalone CLI distribution versioning Jul 2, 2026
Copilot AI requested a review from timotheeguerin July 2, 2026 18:27
@timotheeguerin

Copy link
Copy Markdown
Member

@copilot wondering if instead we should just make sure the version match at all time and add standlone cli to the same version policy

…version to 1.13.0

Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

@copilot wondering if instead we should just make sure the version match at all time and add standlone cli to the same version policy

Done. Moved @typespec/standalone-cli into the typespec-stable lockstep policy (commit fix: move standalone-cli to typespec-stable version policy and align version to 1.13.0), bumped its version to 1.13.0, and reverted the pipeline change since the versions now stay in sync automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

standalone cli package version is out of sync

2 participants