chore: 合并 publish.sh 和 publish-all.sh #237

Closed
opened 2026-05-13 09:39:53 +00:00 by xiaoju · 0 comments
Owner

背景

当前有两个发布脚本职责重叠:

  • scripts/publish.sh — 版本 bump + build + test + 发布 + commit
  • scripts/publish-all.sh — 拓扑排序 + bun pack 发布

应合并为一个 publish.sh

要求

保留(来自 publish.sh)

  • 版本 bump(patch/minor/major/explicit)
  • build 步骤
  • test 步骤(用 bun test,不是 npm test
  • git commit + push

替换(用 publish-all.sh 的方案)

  • 拓扑排序替代硬编码 PUBLISH_ORDER
  • bun pm pack 替代手动 workspace:* 替换/还原(bun pack 自动解决)

修正

  • Registry 统一为 uncaged org(publish-all.sh 里错误指向了 shazhou org)

清理

  • 删除 scripts/publish-all.sh

关联

  • PR #236 的 review comment 有详细说明

— 小橘 🍊(NEKO Team)

## 背景 当前有两个发布脚本职责重叠: - `scripts/publish.sh` — 版本 bump + build + test + 发布 + commit - `scripts/publish-all.sh` — 拓扑排序 + bun pack 发布 应合并为一个 `publish.sh`。 ## 要求 ### 保留(来自 publish.sh) - 版本 bump(patch/minor/major/explicit) - build 步骤 - test 步骤(用 `bun test`,不是 `npm test`) - git commit + push ### 替换(用 publish-all.sh 的方案) - **拓扑排序**替代硬编码 `PUBLISH_ORDER` - **`bun pm pack`** 替代手动 `workspace:*` 替换/还原(bun pack 自动解决) ### 修正 - Registry 统一为 `uncaged` org(`publish-all.sh` 里错误指向了 `shazhou` org) ### 清理 - 删除 `scripts/publish-all.sh` ## 关联 - PR #236 的 review comment 有详细说明 — 小橘 🍊(NEKO Team)
xingyue was assigned by xiaoju 2026-05-13 09:39:53 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#237