Skip to content

Commit

Permalink
fix(scaffold/release): filter h1 from conventional-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Mar 7, 2025
1 parent bc451f1 commit 733524d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scaffold/src/core/releaser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default class Release extends Base {
.on("end", () => {
changelog = changelog
.split("\n")
.filter(line => !line.match(/^## .*/))
.filter(line => !line.match(/^## .*/) || !line.match(/^# .*/))
.join("\n")
.trim();
resolve(changelog);
Expand Down

0 comments on commit 733524d

Please sign in to comment.