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
: If the content contains any special characters such as backquotes, you must precede it with a backslash escape character (`\`).
30
30
31
31
`--no-extract-release-notes`
32
-
: Optional: Turn off extraction of release notes from PR descriptions.
33
-
: The extractor looks for content in various formats in the PR description:
32
+
: Optional: Turn off extraction of release notes from PR or issue descriptions.
33
+
: The extractor looks for content in various formats in the PR or issue description:
34
34
: - `Release Notes: ...`
35
35
: - `Release-Notes: ...`
36
36
: - `release notes: ...`
37
37
: - `Release Note: ...`
38
38
: - `Release Notes - ...`
39
39
: - `## Release Note` (as a markdown header)
40
-
: Short release notes (≤120 characters, single line) are used as the changelog title (only if `--title` is not explicitly provided).
41
-
: Long release notes (>120 characters or multi-line) are used as the changelog description (only if `--description` is not explicitly provided).
40
+
: Matched release note text is used as the changelog description (only if `--description` is not explicitly provided). The changelog title is always taken from `--title` or from the PR or issue title, not from the release note section.
42
41
: By default, the behavior is determined by the `extract.release_notes` changelog configuration setting.
Copy file name to clipboardExpand all lines: docs/contribute/changelog.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -541,11 +541,10 @@ In particular, it looks for content in these formats in the PR description:
541
541
- `Release Notes - This is the extracted sentence.`
542
542
- `## Release Note`(as a markdown header)
543
543
544
-
The extracted content is handled differently based on its length:
544
+
How the extracted text is used:
545
545
546
-
- **Short release notes (≤120 characters, single line)**: Used as the changelog title (only if `--title` is not explicitly provided)
547
-
- **Long release notes (>120 characters or multi-line)**: Used as the changelog description (only if `--description` is not explicitly provided)
548
-
- **No release note found**: No changes are made to the title or description
546
+
- **Release note found**: The extracted text is used as the changelog description (only if `--description` is not explicitly provided). The changelog title comes from `--title` or the PR title, not from the release note section.
547
+
- **No release note found**: No description is filled from the PR body; the title still comes from `--title` or the PR title as usual.
549
548
550
549
:::{note}
551
550
If you explicitly provide `--title` or `--description`, those values take precedence over extracted release notes.
Copy file name to clipboardExpand all lines: src/tooling/docs-builder/Commands/ChangelogCommand.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ public Task<int> Init(
215
215
/// <param name="areas">Optional: Area(s) affected (comma-separated or specify multiple times)</param>
216
216
/// <param name="config">Optional: Path to the changelog.yml configuration file. Defaults to 'docs/changelog.yml'</param>
217
217
/// <param name="description">Optional: Additional information about the change (max 600 characters)</param>
218
-
/// <param name="noExtractReleaseNotes">Optional: Turn off extraction of release notes from PR descriptions. By default, release notes are extracted when using --prs. Short release notes (≤120 characters, single line) are used as the title, long release notes (>120 characters or multi-line) are used as the description.</param>
218
+
/// <param name="noExtractReleaseNotes">Optional: Turn off extraction of release notes from PR descriptions. By default, release notes are extracted when using --prs. Matched release note text is used as the changelog description (only if --description is not explicitly provided). The changelog title comes from --title or the PR title, not from the release note section.</param>
219
219
/// <param name="noExtractIssues">Optional: Turn off extraction of linked references. When using --prs: turns off extraction of linked issues from the PR body (e.g., "Fixes #123"). When using --issues: turns off extraction of linked PRs from the issue body (e.g., "Fixed by #123"). By default, linked references are extracted in both cases.</param>
220
220
/// <param name="featureId">Optional: Feature flag ID</param>
221
221
/// <param name="highlight">Optional: Include in release highlights</param>
0 commit comments