Filter release commits from changelog
This commit is contained in:
1 parent
3924c04e56
commit
8efe906e87
3 files changed
+97
-35
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user