Skip to content

Commit

Permalink
ci: update release config to include maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
erzz authored Mar 21, 2022
1 parent 6f61499 commit f90c6fc
Showing 1 changed file with 57 additions and 3 deletions.
60 changes: 57 additions & 3 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,61 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [{ "type": "chore", "release": "patch" }]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":sparkles: New Features",
"hidden": false
},
{
"type": "fix",
"section": ":bug: Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": ":memo: Documentation",
"hidden": true
},
{
"type": "refactor",
"section": ":zap: Refactor",
"hidden": true
},
{
"type": "perf",
"section": ":fast_forward: Performance",
"hidden": false
},
{
"type": "test",
"section": ":white_check_mark: Tests",
"hidden": true
},
{
"type": "ci",
"section": ":repeat: CI",
"hidden": true
},
{
"type": "chore",
"section": ":package: Maintenance",
"hidden": false
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/github",
[
Expand All @@ -11,5 +65,5 @@
}
]
],
"branches": ["main"]
"branches": ["main", "master"]
}

0 comments on commit f90c6fc

Please sign in to comment.