Skip to content

Commit e3a122a

Browse files
committed
Add divider before the commit range in the generated release notes
1 parent 1965a6b commit e3a122a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ui.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const printCommitLog = async (repoUrl, registryUrl, fromLatestTag, releaseBranch
6666

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

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

0 commit comments

Comments
 (0)