Loading...
Loading...
Compare original and translation side by side
Generated Files/ReleaseNotes/Generated Files/ReleaseNotes/
├── milestone_prs.json # Raw PR data from GitHub
├── sorted_prs.csv # Sorted PR list with Copilot summaries
├── prs_with_milestone.csv # Milestone assignment tracking
├── grouped_csv/ # PRs grouped by label (one CSV per label)
├── grouped_md/ # Generated markdown summaries per label
└── v{VERSION}-release-notes.md # Final consolidated release notesGenerated Files/ReleaseNotes/Generated Files/ReleaseNotes/
├── milestone_prs.json # Raw PR data from GitHub
├── sorted_prs.csv # Sorted PR list with Copilot summaries
├── prs_with_milestone.csv # Milestone assignment tracking
├── grouped_csv/ # PRs grouped by label (one CSV per label)
├── grouped_md/ # Generated markdown summaries per label
└── v{VERSION}-release-notes.md # Final consolidated release notesghgh{{ReleaseVersion}}| Variable | Description | Example |
|---|---|---|
| Target release version | |
{{ReleaseVersion}}| 变量 | 说明 | 示例 |
|---|---|---|
| 目标发布版本 | |
┌────────────────────────────────┐
│ 1.1 Collect PRs (stable range) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 1.2 Assign Milestones │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 2.1–2.4 Label PRs (auto+human) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.1 Request Reviews (Copilot) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.2 Refresh PR data │
│ (CopilotSummary) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.3 Group by label │
│ (grouped_csv) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 4.1 Summarize (grouped_md) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 4.2 Final notes (v{VERSION}.md) │
└────────────────────────────────┘| Step | Action | Details |
|---|---|---|
| 1.1 | Collect PRs | From previous release tag on |
| 1.2 | Assign Milestones | Ensure all PRs have correct milestone |
| 2.1–2.4 | Label PRs | Auto-suggest + human label low-confidence |
| 3.1–3.3 | Reviews & Grouping | Request Copilot reviews → refresh → group by label |
| 4.1–4.2 | Summaries & Final | Generate grouped summaries, then consolidate |
┌────────────────────────────────┐
│ 1.1 Collect PRs (stable range) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 1.2 Assign Milestones │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 2.1–2.4 Label PRs (auto+human) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.1 Request Reviews (Copilot) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.2 Refresh PR data │
│ (CopilotSummary) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 3.3 Group by label │
│ (grouped_csv) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 4.1 Summarize (grouped_md) │
└────────────────────────────────┘
↓
┌────────────────────────────────┐
│ 4.2 Final notes (v{VERSION}.md) │
└────────────────────────────────┘| 步骤 | 操作 | 详情 |
|---|---|---|
| 1.1 | 收集PR | 从 |
| 1.2 | 分配里程碑 | 确保所有PR都有正确的里程碑 |
| 2.1–2.4 | 标注PR标签 | 自动建议 + 人工标注低置信度PR |
| 3.1–3.3 | 评审与分组 | 请求Copilot评审 → 刷新数据 → 按标签分组 |
| 4.1–4.2 | 摘要与最终输出 | 生成分组摘要,然后合并为最终版本 |
| Script | Purpose |
|---|---|
| dump-prs-since-commit.ps1 | Fetch PRs between commits/tags |
| group-prs-by-label.ps1 | Group PRs into CSVs |
| collect-or-apply-milestones.ps1 | Assign milestones |
| diff_prs.ps1 | Incremental PR diff |
| 脚本 | 用途 |
|---|---|
| dump-prs-since-commit.ps1 | 获取两次提交/标签之间的PR |
| group-prs-by-label.ps1 | 将PR分组为CSV文件 |
| collect-or-apply-milestones.ps1 | 分配里程碑 |
| diff_prs.ps1 | 增量PR差异对比 |
sorted_prs.csvProduct-*Area-*GitHub**PluginIssue-*sorted_prs.csvProduct-*Area-*GitHub**PluginIssue-*| Issue | Solution |
|---|---|
| Install GitHub CLI and add to PATH |
| No PRs returned | Verify milestone title matches exactly |
| Empty CopilotSummary | Request Copilot reviews first, then re-run dump |
| Many unlabeled PRs | Return to labeling step before grouping |
| 问题 | 解决方案 |
|---|---|
| 安装GitHub CLI并添加到PATH |
| 未返回任何PR | 确认里程碑标题完全匹配 |
| CopilotSummary为空 | 先请求Copilot评审,然后重新运行dump脚本 |
| 大量未标注标签的PR | 在分组前返回标签标注步骤 |