Skip to content

Commit

Permalink
ci: add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiHash committed Mar 7, 2021
1 parent dadb8d2 commit f1123cc
Show file tree
Hide file tree
Showing 3 changed files with 5,625 additions and 54 deletions.
32 changes: 32 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "main", "next", "next-major", {"name": "beta", "prerelease": true}, {"name": "alpha", "prerelease": true}],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "chore", "release": "patch" }
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "chore", "section": "Chore" },
{ "type": "docs", "section": "Documentations" },
{ "type": "style", "hidden": true },
{ "type": "refactor", "section": "Refactor" },
{ "type": "perf", "section": "Performances" },
{ "type": "test", "section": "Tests" }
]
}
}],
"@semantic-release/changelog",
"@semantic-release/npm",
["@semantic-release/git", {
"message": "chore(release): ${nextRelease.version}"
}],
"@semantic-release/github"
]
}
Loading

0 comments on commit f1123cc

Please sign in to comment.