Skip to content

Commit

Permalink
Packages: Fix the changelong updater for initial npm release (#23166)
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Jun 16, 2020
1 parent 97e354d commit 02490a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/plugin/commands/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ async function updatePackageChangelogs(
// A version bump required. Found new changelog section.
if (
versionBump !== 'minor' &&
lineNormalized.startsWith( '### ' )
( lineNormalized.startsWith( '### ' ) ||
lineNormalized.startsWith( '- initial release' ) )
) {
versionBump = minimumVersionBump;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/lazy-import/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

## Unreleased

## 1.0.0 (2020-06-15)

- Initial release.

0 comments on commit 02490a4

Please sign in to comment.