Skip to content

Commit

Permalink
ci: configure semantic-release to release patches for documentation c…
Browse files Browse the repository at this point in the history
…hanges
  • Loading branch information
birjj committed Sep 15, 2020
1 parent c09896d commit 26355bc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,20 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": ["master"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{ "type": "docs", "release": "patch" },
{ "type": "chore", "release": "patch" }
]
}],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}

0 comments on commit 26355bc

Please sign in to comment.