diff --git a/changelog-template.hbs b/changelog-template.hbs index 26ea3eb..e385706 100644 --- a/changelog-template.hbs +++ b/changelog-template.hbs @@ -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}} diff --git a/package.json b/package.json index fd080ce..055207e 100644 --- a/package.json +++ b/package.json @@ -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": {