Skip to content

Commit

Permalink
Fixed CHANGELOG header format
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Mar 2, 2022
1 parent 89a7343 commit 7485565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/react-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

<!-- RELEASE_SCRIPT_TOKEN -->

## 4.24.0 (March 2, 2022)
### 4.24.0
March 2, 2022

### Feature
* Show DevTools backend and frontend versions in UI ([bvaughn](https://github.com/bvaughn) in [#23399](https://github.com/facebook/react/pull/23399))
Expand Down
2 changes: 1 addition & 1 deletion scripts/devtools/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function updateChangelog(nextVersion, commitLog) {
month: 'long',
day: 'numeric',
});
const header = `## ${nextVersion} (${dateString})`;
const header = `### ${nextVersion}\n${dateString}`;

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

Expand Down

0 comments on commit 7485565

Please sign in to comment.