Skip to content

Commit

Permalink
fgsd
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaner committed Sep 12, 2024
1 parent 5d432c7 commit e3fe641
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/actions/merge-changelogs/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion build-packages/merge-changelogs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ function getPackageName(changelog: string): string {
function splitByVersion(changelog: string): ContentByVersion[] {
return changelog.split('\n## ').map(h2 => {
info('splitting by version');
info(h2);
const [version, ...content] = h2.split('\n');
info(`version: ${version}`);
info(`content: ${content}`);
return {
version,
content: content.join('\n').trim()
Expand Down

0 comments on commit e3fe641

Please sign in to comment.