Repository navigation
feat(release): add validated manual sdk publishing - #5
Merged
Merged
Conversation
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.
SDK publication currently relies on manual per-package commands outside the repository. Add
pnpm run releaseas the canonical entrypoint: by default it installs locked dependencies, runs the quality gates, builds and tests the SDK, then packs and inspects all four npm tarballs without uploading.pnpm run release -- --publishremains maintainer-triggered. It requires a clean, currentmain, an interactive terminal outside CI and explicit confirmation of the displayed package plan. Uploads follow schema → API → CLI → create wrapper, using the verified archives. Existing versions are skipped only when their SHA-512 integrity matches; conflicts stop the batch before uploads. Every upload is verified before the next, and failures preserve artifacts and a progress report for partial-release recovery. There is no force, automatic confirmation, tag creation or automatic publication workflow.Add English/Chinese release guides and README links, update the agent guidance to the canonical preparation entrypoint, and run real preparation in the existing OS/Node CI matrix. Stable versions and the public npm registry/latest tag are the initial supported scope.
Validation:
Follows the merged implementation/version preparation in #3 and #4. Consumers remain blocked on the separately authorized, human-run SDK publication: Motrix#2350, builtin-plugins#7.
GitHub CI: all six Ubuntu/Windows/macOS × Node 22/24 jobs pass, including the actual preparation command.