Skip to content

Commit

Permalink
fix: Add release rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Nov 8, 2019
1 parent 06b74b0 commit 82baf23
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
{
"preset": "conventionalcommits",
"plugins": [
"@semantic-release/commit-analyzer",
["@semantic-release/commit-analyzer", {
"releaseRules": [
{"type": "feat", "release": "minor"},
{"type": "improvement", "release": "minor"},

{"type": "fix", "release": "patch"},
{"type": "docs", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "perf", "release": "patch"},
{"type": "test", "release": "patch"},
{"type": "build", "release": "patch"},
{"type": "ci", "release": "patch"},
{"type": "chore", "release": "patch"},
{"type": "revert", "release": "patch"}
]
}],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {"changelogTitle": "# Changelog"}],
["@semantic-release/git", {"message": "Release ${nextRelease.version}"}]
Expand Down

0 comments on commit 82baf23

Please sign in to comment.