Skip to content

Commit

Permalink
build: Force release when commit a refactor or build
Browse files Browse the repository at this point in the history
  • Loading branch information
samwx committed Aug 7, 2019
1 parent d1d8964 commit 5f34e30
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,19 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"analyzeCommits": {
"releaseRules": [
{
"type": "build",
"release": "patch"
},
{
"type": "refactor",
"release": "minor"
}
]
}
}
}

0 comments on commit 5f34e30

Please sign in to comment.