Skip to content

Commit

Permalink
Chore: update semantic release rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Apr 7, 2021
1 parent fc14911 commit a075dab
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branch": "master",
"branches": "master",
"ci": false,
"plugins": [
"@semantic-release/commit-analyzer",
Expand All @@ -12,18 +12,19 @@
"@semantic-release/npm",
[
"@semantic-release/git", {
"message": "Chore: (release) add version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
"assets": ["README.md", "CHANGELOG.md", "package.json"],
"message": "Chore(release): add version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
],
"preset": "eslint",
"releaseRules": [
{ "type": "Fix", "release": "patch" },
{ "type": "Update", "release": "minor" },
{ "type": "New", "release": "minor" },
{ "type": "Breaking", "release": "major" },
{ "type": "Docs", "release": "patch" },
{ "type": "Upgrade", "release": "patch" }
{ "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"]
Expand Down

0 comments on commit a075dab

Please sign in to comment.