Skip to content

Instantly share code, notes, and snippets.

@visioncan
Last active January 27, 2021 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save visioncan/65ed2ea629d51c5b2152e54adaebc07b to your computer and use it in GitHub Desktop.
Save visioncan/65ed2ea629d51c5b2152e54adaebc07b to your computer and use it in GitHub Desktop.
changelog-tpl
### Changelog
{{#each releases}}
{{#if href}}
###{{#unless major}}#{{/unless}} [{{title}}](#{{title}})
{{else}}
#### {{title}}
{{/if}}
{{#if tag}}
> {{isoDate}}
{{/if}}
{{#if summary}}
{{summary}}
{{/if}}
{{#each fixes}}
- {{#if commit.breaking}}**Breaking change:** {{/if}}{{commit.subject}}{{#each fixes}}{{#if href}} [`#{{id}}`]{{/if}}{{/each}}
{{/each}}
{{#each commits}}
- {{#if breaking}}**Breaking change:** {{/if}}{{subject}}{{#if href}}[`{{shorthash}}`]{{/if}}
{{/each}}
{{/each}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment