Skip to content

Commit a58cd0b

Browse files
author
Brian Vaughn
committed
Fixed CHANGELOG header format
1 parent 89a7343 commit a58cd0b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

packages/react-devtools/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
<!-- RELEASE_SCRIPT_TOKEN -->
44

5-
## 4.24.0 (March 2, 2022)
5+
### 4.24.0
6+
March 2, 2022
67

7-
### Feature
8+
#### Feature
89
* Show DevTools backend and frontend versions in UI ([bvaughn](https://github.com/bvaughn) in [#23399](https://github.com/facebook/react/pull/23399))
910
* Timeline profiler refactored to support reading basic profiling data directly from React ([bvaughn](https://github.com/bvaughn) in [#22529](https://github.com/facebook/react/issues/22529))
1011

@@ -23,7 +24,7 @@ Technically this is a breaking change for projects using `react-devtools-inline`
2324
### 4.23.0
2425
January 24, 2022
2526

26-
### Feature
27+
#### Feature
2728
* DevTools: Only show StrictMode badge on root elements ([bvaughn](https://github.com/bvaughn) in [#23012](https://github.com/facebook/react/pull/23012))
2829

2930
#### Bugfix

scripts/devtools/prepare-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function updateChangelog(nextVersion, commitLog) {
204204
month: 'long',
205205
day: 'numeric',
206206
});
207-
const header = `## ${nextVersion} (${dateString})`;
207+
const header = `### ${nextVersion}\n${dateString}`;
208208

209209
const newChangelog = `${beginning}${RELEASE_SCRIPT_TOKEN}\n\n${header}\n${commitLog}${end}`;
210210

0 commit comments

Comments
 (0)