release

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Release

发布

Orchestrate the complete release process.
  1. Preparation:
    • Identify the version number to release (from argument or
      package.json
      ).
  2. Step 1: Verify (QA):
    • Load the
      qa-specialist
      agent.
    • Run available tests:
      npm run test
      (or equivalent).
    • STOP if tests fail.
  3. Step 2: Document (Writer):
    • Load the
      technical-writer
      agent.
    • Check
      CHANGELOG.md
      .
    • Add an entry for the new version if missing, summarizing recent commits.
  4. Step 3: Tag (Git):
    • Commit changes:
      git add . && git commit -m "chore(release): v<VERSION>"
    • Create tag:
      git tag v<VERSION>
  5. Completion:
    • Notify the user that the release v<VERSION> is ready to be pushed.
编排完整的发布流程。
  1. 准备工作:
    • 确定要发布的版本号(从入参或
      package.json
      中获取)。
  2. 步骤1:验证(QA):
    • 加载
      qa-specialist
      Agent。
    • 运行可用测试:
      npm run test
      (或等效命令)。
    • 如果测试失败则停止流程。
  3. 步骤2:文档编写(文案):
    • 加载
      technical-writer
      Agent。
    • 检查
      CHANGELOG.md
      文件。
    • 若缺少新版本条目则新增,汇总近期提交内容。
  4. 步骤3:打标签(Git):
    • 提交变更:
      git add . && git commit -m "chore(release): v<VERSION>"
    • 创建标签:
      git tag v<VERSION>
  5. 流程完成:
    • 通知用户 v<VERSION> 版本已准备就绪,可以推送。