You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/createprs-for-preview.prompt.md
+23-27Lines changed: 23 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,33 +34,29 @@ Example (NOT to be edited into the file): DOTNET_VERSION=10, MILESTONE_KIND=rc,
34
34
## Process (assistant substitutes variables at execution time)
35
35
36
36
1. Create a new branch from the base branch: `git switch -c dotnet${DOTNET_VERSION}-${MilestonePrefix}-{name} origin/dotnet${DOTNET_VERSION}-${MilestonePrefix}`
37
-
1. Modify the file content:
38
-
- If the file contains a neutral/no-new-features sentence such as:
39
-
*`This ${Milestone Label} release does not contain new` … OR
40
-
*`This RC 2 release does not contain new` …
41
-
replace that ENTIRE sentence block with the following scaffold (customize the product/area name appropriately — keep heading anchors lowercase with hyphens):
42
-
```markdown
43
-
Here's a summary of what's new in <Product/Area> in this ${Milestone Label} release:
44
-
45
-
- [Feature](#feature)
46
-
47
-
## Feature
48
-
49
-
Feature summary
50
-
```
51
-
- Otherwise, insert the above placeholder text directly below the heading.
52
-
- Do NOT append duplicates; always replace in-place.
37
+
1. Modify the file content. If the file contains a neutral/no-new-features sentence such as `This ${Milestone Label} release does not contain new ...` (or the equivalent for a specific RC) replace that entire sentence block with the scaffold below. If no neutral sentence exists, insert the scaffold directly below the heading (only once; do not duplicate it).
38
+
39
+
```markdown
40
+
Here's a summary of what's new in <Product/Area> in this ${Milestone Label} release:
41
+
42
+
- [Feature](#feature)
43
+
44
+
## Feature
45
+
46
+
Feature summary
47
+
```
48
+
53
49
1. Run markdown lint: `npx markdownlint --config .github/linters/.markdown-lint.yml release-notes/${DOTNET_VERSION}.0/preview/${MilestonePrefix}/{name}`
54
50
1. Commit: `Update {name} for ${Milestone Label}`
55
51
1. Push the branch
56
-
1. Create a pull request with:
57
-
- Title: `Update {name} for ${Milestone Label}`
58
-
- Body (exact format):
59
-
```
60
-
Please update the release notes here as needed for ${Milestone Label}.
61
-
62
-
/cc @{assignees}
63
-
```
52
+
1. Create a pull request with title `Update {name} for ${Milestone Label}` and body:
53
+
54
+
```text
55
+
Please update the release notes here as needed for ${Milestone Label}.
56
+
57
+
/cc @{assignees}
58
+
```
59
+
64
60
1. Assign the PR (first listed person if multiple): `gh pr edit <PR_NUMBER> --add-assignee <username>`
65
61
1. Switch back to `dotnet${DOTNET_VERSION}-${MilestonePrefix}` and continue with the next file.
66
62
@@ -114,11 +110,11 @@ Here are the files to process one at a time:
114
110
After all component PRs are opened for the milestone, create a consolidation PR:
1. Navigate to `release-notes/${DOTNET_VERSION}.0/preview/`.
25
-
2. Duplicate the previous milestone folder (prior prefix → new prefix, e.g. `rc1` → `${MilestonePrefix}` or `p6` → `${MilestonePrefix}`).
26
-
3. Remove (do NOT copy):
27
-
- `api-diff` directory (if present) – will be regenerated later.
28
-
- `release.json` – create a fresh one if required by process.
29
-
4. For each component markdown file, update the heading and milestone label only; preserve existing anchor structure.
30
-
5. If there are no new feature items yet, insert a neutral placeholder sentence (e.g. `This ${Milestone Label} release does not introduce new ${Product} features.`) instead of a generic "Something about the feature" line. Avoid duplicating placeholder lines.
31
-
6. Run markdown lint: `npx markdownlint --config .github/linters/.markdown-lint.yml release-notes/${DOTNET_VERSION}.0/preview/${MilestonePrefix}/*.md`.
32
-
7. Commit on the base milestone branch (`dotnet${DOTNET_VERSION}-${MilestonePrefix}`) with message: `Scaffold .NET ${DOTNET_VERSION} ${Milestone Label} release notes folder`.
25
+
1. Duplicate the previous milestone folder (prior prefix → new prefix, e.g. `rc1` → `${MilestonePrefix}` or `p6` → `${MilestonePrefix}`).
26
+
1. Remove (do NOT copy):
27
+
-`api-diff` directory (if present) – will be regenerated later.
28
+
-`release.json` – create a fresh one if required by process.
29
+
1. For each component markdown file, update the heading and milestone label only; preserve existing anchor structure.
30
+
1. If there are no new feature items yet, insert a neutral placeholder sentence (e.g. `This ${Milestone Label} release does not introduce new ${Product} features.`) instead of a generic "Something about the feature" line. Avoid duplicating placeholder lines.
31
+
1. Run markdown lint: `npx markdownlint --config .github/linters/.markdown-lint.yml release-notes/${DOTNET_VERSION}.0/preview/${MilestonePrefix}/*.md`.
32
+
1. Commit on the base milestone branch (`dotnet${DOTNET_VERSION}-${MilestonePrefix}`) with message: `Scaffold .NET ${DOTNET_VERSION} ${Milestone Label} release notes folder`.
0 commit comments