Skip to content

Commit

Permalink
Chore: update semantic rules to trigger patch releases
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Apr 8, 2021
1 parent 7439e43 commit 3ffcb6b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"branches": ["master"],
"branch": "master",
"ci": false,
"plugins": [
["@semantic-release/commit-analyzer",{
"preset": "eslint",
"releaseRules": [
{ "type": "Fix", "release": "patch" },
{ "type": "Update", "release": "minor" },
{ "type": "New", "release": "minor" },
{ "type": "Breaking", "release": "minor" },
{ "type": "Docs", "release": "patch" },
{ "type": "Upgrade", "release": "patch" }
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
}
}],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
"@semantic-release/npm",
[
"@semantic-release/git", {
"assets": ["README.md", "CHANGELOG.md", "package.json"],
"message": "Chore(release): add version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
],
"preset": "eslint",
"releaseRules": [
{ "tag": "Fix", "release": "patch" },
{ "tag": "Update", "release": "minor" },
{ "tag": "New", "release": "minor" },
{ "tag": "Breaking", "release": "minor" },
{ "tag": "Docs", "release": "patch" },
{ "tag": "Upgrade", "release": "patch" }
],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
}
}

0 comments on commit 3ffcb6b

Please sign in to comment.