Skip to content

Commit

Permalink
[core] Add @mui/x-tree-view-pro to releaseChangelog (@flaviendela…
Browse files Browse the repository at this point in the history
…ngle) (#15747)

Co-authored-by: Flavien DELANGLE <flaviendelangle@gmail.com>
  • Loading branch information
github-actions[bot] and flaviendelangle authored Dec 5, 2024
1 parent 56d39bb commit bff6696
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions scripts/releaseChangelog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ async function main(argv) {
const chartsCommits = [];
const chartsProCommits = [];
const treeViewCommits = [];
const treeViewProCommits = [];
const coreCommits = [];
const docsCommits = [];
const otherCommits = [];
Expand Down Expand Up @@ -220,9 +221,14 @@ async function main(argv) {
chartsCommits.push(commitItem);
break;
case 'TreeView':
case 'RichTreeView':
case 'tree view':
treeViewCommits.push(commitItem);
break;
case 'RichTreeViewPro':
case 'tree view pro':
treeViewProCommits.push(commitItem);
break;
case 'docs':
docsCommits.push(commitItem);
break;
Expand Down Expand Up @@ -366,9 +372,13 @@ Same changes as in \`@mui/x-charts@__VERSION__\`${chartsProCommits.length > 0 ?
${logChangelogSection(chartsProCommits)}${chartsProCommits.length > 0 ? '\n' : ''}
### Tree View
#### \`@mui/x-tree-view@__VERSION__\`
#### \`@mui/x-tree-view@__VERSION__\`
${logChangelogSection(treeViewProCommits) || `No changes since \`@mui/x-tree-view-pro@${lastRelease}\`.`}
#### \`@mui/x-tree-view-pro@__VERSION__\` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
${logChangelogSection(treeViewCommits) || `No changes since \`@mui/x-tree-view@${lastRelease}\`.`}
Same changes as in \`@mui/x-tree-view@__VERSION__\`${treeViewProCommits.length > 0 ? ', plus:\n' : '.'}
${logChangelogSection(treeViewProCommits)}${treeViewProCommits.length > 0 ? '\n' : ''}
${logChangelogSection(codemodCommits, `### \`@mui/x-codemod@__VERSION__\``)}
${logChangelogSection(docsCommits, '### Docs')}
${logChangelogSection(coreCommits, '### Core')}
Expand Down

0 comments on commit bff6696

Please sign in to comment.