Skip to content

Commit

Permalink
feat(show_changelog): Put an -HR- between changelogs for upstream pro…
Browse files Browse the repository at this point in the history
…jects
  • Loading branch information
christopherthielen committed Oct 4, 2019
1 parent 3ffa4b4 commit 8d10df0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions show_changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ function showDepChangelog(dependency) {
shelljs.pushd(tmpdir);
shelljs.config.silent = false;
console.log(`\n`);
console.log(`---`);
console.log(`\n`);
console.log(`### Updated \`${dependency}\` from ${from} to ${to}`);
console.log(`\n`);
console.log(`Changelog for \`${dependency}\`:`);
console.log(`\n`);
let depChangelog = _exec(`node ${scriptPath} --from ${from} --to ${to}`, true).stdout.trim();
console.log(depChangelog.split(/[\r\n]/).slice(1).join('\n'));
} finally {
Expand Down

0 comments on commit 8d10df0

Please sign in to comment.