Repository navigation
chore(release): harden version SSOT and npm visibility - #252
Merged
Merged
Conversation
- bump-version handles six packages, both locks, desktop APP_VERSION and the single MCP version source - verify:release-version checks the same SSOT locally and in publish.yml - add post-publish npm visibility gate before GitHub Release - document release-prep -> dry-run -> release -> back-merge flow and safe branch cleanup - make dsh-plugin / MCP release checks version-agnostic; add fixture tests
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.
目的
把 v0.1.0 / v0.1.1 发布过程中依赖人工记忆的步骤机械化,并明确单版本 umbrella。
改动
version/dist-tags.latest,全可见才创建 GitHub Release。verify:release-version:六 package manifest、两个 lockfile、desktop APP_VERSION、MCP 单一版本源、CHANGELOG 统一校验。bump-version.sh覆盖六包、lockfile、desktop、MCP 版本源和 CHANGELOG;packages/mcp/src/version.mjs成为 MCP 唯一版本源。publish.yml的 verify 直接调用同一版本 SSOT 脚本。release-prep/vX.Y.Z→ dry-run →release/vX.Y.Z→ visibility → GitHub Release → back-merge → 分支清理。branches:mergeddry-run 清理工具;默认只列出,不自动删除。@mebular/dsh-plugin+ 桌面 App 同版本;DSH 保持独立 adapter 代码和独立 npm job,但不单独发版。验证
npm run buildnpm run lintnpm run check:docs7/7npm run check:i18n32/0npm run check:cleanlinessnpm run check:deps4/4npm run verify:release-version34 checksnpm run verify:release-visibility -- --version 0.1.1 --dsh-version 0.1.16/6(真实 registry)npm run verify:dsh-plugin129 checksnpm run verify:mcp:publishtests/release14/14tests/p2p/connection-dial-policy.test.ts时序 flake,单独重跑 9/9 通过;最终以 CI 为准。范围