Skip to content

Commit

Permalink
Add divider before the commit range in the generated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 3, 2024
1 parent 1965a6b commit e3a122a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const printCommitLog = async (repoUrl, registryUrl, fromLatestTag, releaseBranch

const releaseNotes = nextTag => commits.map(commit =>
`- ${htmlEscape(commit.message)} ${commit.id}`,
).join('\n') + `\n\n${repoUrl}/compare/${revision}...${nextTag}`;
).join('\n') + `\n\n---\n\n${repoUrl}/compare/${revision}...${nextTag}`;

const commitRange = util.linkifyCommitRange(repoUrl, commitRangeText);
console.log(`${chalk.bold('Commits:')}\n${history}\n\n${chalk.bold('Commit Range:')}\n${commitRange}\n\n${chalk.bold('Registry:')}\n${registryUrl}\n`);
Expand Down

0 comments on commit e3a122a

Please sign in to comment.