fix(release): allow publishing with no tag; publish one package at a time#1689
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Updates the production release workflow so that clearing the dist_tag input publishes without passing --dist-tag, avoiding npm interpreting an empty string as latest.
Changes:
- Clarifies the
dist_tagworkflow input description to document the “delete to omit” behavior. - Replaces the single
lerna publish ... --dist-tag "$DIST_TAG"invocation with conditional logic that omits--dist-tagwhen empty.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Serialize package publishes so we don't submit 27 provenance attestations to the Rekor transparency log in parallel, reducing timeout-induced 409s.
josecorella
approved these changes
Jul 24, 2026
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.
Issue #, if available:
Description of changes:
dist_tagis empty, do not publish a tag. (Current behavior is to pass an emptydist_tagto the npm CLI, which the CLI interprets as "set latest tag", which we don't want.)--concurrency 1serializes publishes so only one attestation is in flight at a time, (possibly, hopefully) reducing those timeout-induced 409s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: