@laitszkin/apollo-toolkit 5.0.1 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,20 +11,37 @@ description: 協助完成自動化版本發佈。同步文檔、更新版本號
11
11
 
12
12
  - `CHANGELOG.md`, `docs/` 下所有項目文檔已經被同步到最新狀態
13
13
  - GitHub release 與 version tag 已被建立
14
+ - 代碼圖索引(codegraph)與實際代碼同步
15
+ - 若不在 default 分支,已完成分支合併流程
14
16
 
15
17
  ## 工作流程
16
18
 
17
- ### 1. 檢查並確認 repo 狀態
19
+ ### 1. 確定發佈分支
18
20
 
19
- 檢查 repo 狀態。
20
- 若有未提交變更,使用 `commit` 技能暫存並提交。推送到 remote。
21
+ 檢查當前 git 分支是否為 default 分支(main 或 master):
22
+ - 若在 **default 分支**:直接進入步驟 2-5
23
+ - 若在 **非 default 分支**:按照以下流程完成版本發佈
21
24
 
22
- ### 2. 更新項目文檔狀態
25
+ #### default 分支發佈流程
26
+
27
+ 1. 使用 `commit` 技能提交所有待處理變更。推送到 remote。
28
+ 2. 切換到 default 分支。將工作分支合併到 default 分支。
29
+ 3. 在 default 分支上,按步驟 2-4 完成發佈。
30
+ 4. 發佈完成後,切回原始的 working branch。
31
+ 5. 與 remote default branch 同步(`git merge --ff-only origin/<default>`)。
32
+ 6. 推送已同步的工作分支。
33
+
34
+ ### 2. 同步代碼圖索引
35
+
36
+ 若有代碼變更,執行 `apltk codegraph sync` 確保代碼圖與實際代碼同步。
37
+ 若 `CLAUDE.md` 或 `AGENTS.md` 缺少 `apltk codegraph` 的引用,必須添加。
38
+
39
+ ### 3. 更新項目文檔狀態
23
40
 
24
41
  通過並行調度 subagents 完成變更的逐行深度閱讀,檢查文檔是否存在錯誤或遺漏。
25
42
  若有,使用 `docs-project`、`maintain-project-constraints` 將文檔同步到最新。
26
43
 
27
- ### 3. 發佈版本
44
+ ### 4. 發佈版本
28
45
 
29
46
  確認所有文檔已更新。
30
47
  更新 repo 的版本文件(如 pyproject.toml)。