Skip to content

Commit

Permalink
Updated changelog template
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Aug 3, 2020
1 parent 96546bd commit bafffcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions changelog-template.hbs
Expand Up @@ -2,15 +2,11 @@ All notable changes to this project will be documented in this file. Dates are d

{{#each releases}}
{{#if href}}
###{{#unless major}}#{{/unless}} [{{title}}]({{href}})
###{{#unless major}}#{{/unless}} [{{title}}]({{href}}) [{{niceDate}}]
{{else}}
#### {{title}}
{{/if}}

{{#if tag}}
> {{niceDate}}
{{/if}}

{{#if summary}}
{{summary}}
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"version": "auto-changelog -l false --sort-commits date --package --hide-credit --template changelog-template.hbs -p && ./index.js -i ExampleUse.md,CHANGELOG.md && git add -A CHANGELOG.md && git add -A README.md",
"version": "auto-changelog -l false --sort-commits date-desc --package --hide-credit --template changelog-template.hbs -p && ./index.js -i ExampleUse.md,CHANGELOG.md && git add -A CHANGELOG.md && git add -A README.md",
"postversion": "git push && git push --tags && npm publish"
},
"repository": {
Expand Down

0 comments on commit bafffcb

Please sign in to comment.