Prepare selective patch releases - #169
Draft
mizchi wants to merge 1 commit into
Draft
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.
Summary
patch/minorrelease preparation for modules changed since the previous release--applysafety gate while syncing npm and CLI metadata only whenmizchi/bitchangesmizchi/bitandmizchi/bitx_hubat0.46.1; the other affected modules at0.45.7)Why
The workspace release helper previously assumed lockstep versions and the current MoonBit toolchain emitted 121 source deprecation warnings plus four warnings from the release helper. Independent version preparation avoids republishing unchanged modules, while the API migrations keep all supported targets warning-free.
Impact
Release preparation now updates only changed package manifests, preserves topological publishing, refuses unsafe dirty-worktree publishing, and keeps the installable npm/CLI version synchronized with
mizchi/bit.Validation
moon check --target nativemoon check --target jsmoon check --target wasmnode --test tools/module-publish-graph.test.mjs tools/publish-changed.test.mjs(9 passed)mizchi/bit/cmd/git-bitnative tests (4 passed)mizchi/bit/cmd/bitrelease native tests (869 passed)node tools/check-layers.mjsmoon build --target native --release modules/bitgit diff --check