From c40cdda45d478b733f195058ef7b239bbb476aeb Mon Sep 17 00:00:00 2001 From: cudr Date: Mon, 22 Jun 2020 01:34:54 +0300 Subject: [PATCH] feat: modify changelog template --- changelog-template.hbs | 27 ++++++++++++++++++++++++--- lerna.json | 2 +- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/changelog-template.hbs b/changelog-template.hbs index 8675a29..34c8bd6 100644 --- a/changelog-template.hbs +++ b/changelog-template.hbs @@ -1,11 +1,32 @@ ### Changelog +{{#unless options.hideCredit}} + Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +{{/unless}} + {{#each releases}} - Released {{title}} {{href}} at {{niceDate}} + {{#if href}} + ###{{#unless major}}#{{/unless}} [{{title}}]({{href}}) + {{else}} + #### {{title}} + {{/if}} + + {{#if tag}} + > {{niceDate}} + {{/if}} + + {{#if summary}} + {{summary}} + {{/if}} + {{#each merges}} - - Merge {{message}} {{id}} {{href}} + - {{#if commit.breaking}}**Breaking change:** {{/if}}{{message}}{{#if href}} [`#{{id}}`]({{href}}){{/if}} {{/each}} {{#each fixes}} - - Fix {{commit}} {{commit.subject}} {{id}} linked to {{href}}. + - {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]({{href}}){{/if}}{{/each}} + {{/each}} + {{#each commits}} + - {{#if breaking}}**Breaking change:** {{/if}}{{subject}}{{#if href}} [`{{shorthash}}`]({{href}}){{/if}} {{/each}} + {{/each}} \ No newline at end of file diff --git a/lerna.json b/lerna.json index 68ffcf6..8a59b70 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.7.1", - "version": "0.6.6", + "version": "0.6.7", "npmClient": "yarn", "useWorkspaces": true }