Skip to content

Commit

Permalink
chore: updated auto-changelog config (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Dec 21, 2020
1 parent aeeb9a2 commit 5b2703a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .auto-changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"template": "./release-template.hbs",
"handlebarsSetup": "./scripts/auto-changelog.js",
"ignoreCommitPattern": "^chore: release v",
"unreleased": true,
"startingVersion": "v3.0.0-alpha.0"
}
6 changes: 3 additions & 3 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"push": true,
"tagName": "v${version}",
"commitMessage": "chore: release v${version}",
"changelog": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
"changelog": "auto-changelog --stdout"
},
"github": {
"release": true,
"releaseNotes": "auto-changelog --stdout --commit-limit false --ignore-commit-pattern \"^chore: release v\" --unreleased --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
"releaseNotes": "auto-changelog --stdout -p"
},
"npm": {
"publish": false
Expand All @@ -18,6 +18,6 @@
}
},
"hooks": {
"after:bump": "auto-changelog -p --ignore-commit-pattern \"^chore: release v\" --template ./release-template.hbs --tag-pattern \"^v\\d+\\.\\d+\\.\\d+$\" --handlebars-setup ./scripts/auto-changelog.js"
"after:bump": "auto-changelog -p"
}
}
9 changes: 0 additions & 9 deletions release-template.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

{{#unless options.hideCredit}}
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
{{/unless}}

{{#each releases}}
{{#if href}}
## [{{title}}]({{href}}){{#if tag}} - {{isoDate}}{{/if}}
Expand Down

0 comments on commit 5b2703a

Please sign in to comment.