Filter release commits from changelog

This commit is contained in:
Julia Friesel
2019-05-03 17:03:14 +02:00
parent 3924c04e56
commit 8efe906e87
3 changed files with 97 additions and 35 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
const updateChangelog = require('basic-changelog')
updateChangelog('./CHANGELOG.md', err => {
const opts = {
filterCommitsStartingWith: ['release:']
}
updateChangelog('./CHANGELOG.md', opts, err => {
if (err) {
console.error('Something went wrong trying to update the changelog:')
console.error(err)