Repository navigation
ci: publish v1 packages under legacy - #836
Merged
Merged
Conversation
roncohen
enabled auto-merge (squash)
November 27, 2026 14:01
roncohen
disabled auto-merge
November 27, 2026 14:01
roncohen
enabled auto-merge (squash)
November 27, 2026 14:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Move future releases from
maintenance/v1to npm'slegacytag so v1 patches cannot replace the v2latestchannel. Keep the Git branch name and existing versioned-release approvals.--tag legacy.legacy, falling back tolatestonly when no legacy baseline exists. A v2latestcannot authorize a v1 patch.latestalone, and refuses to replace a different existinglegacytag.npm-v1-releaseenvironment,V1_PUBLISH_ENABLEDgate, and OIDC authentication.The tag-only workflow needs
workflow_dispatchregistered on the default branch and Allow npm dist-tag enabled for the matching npm trusted publishers. It runs with:Seed the legacy tags before publishing SDK v2 to
latest. This PR does not publish packages or change tags when merged; the tag migration is manual.Validation
latestisolation, patch sequencing, tag idempotency, invalid/unpublished targets, and existing-tag preservation.