Skip to content

Commit

Permalink
fix: add .releaserc
Browse files Browse the repository at this point in the history
  • Loading branch information
kakious committed Feb 27, 2023
1 parent 6dc04a0 commit e9576ef
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"branches": [
{
"name": "prod",
"channel": false
},
{
"name": "dev",
"channel": "dev",
"prerelease": true
},
{
"name": "main",
"channel": "main",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "build",
"section": "Build",
"hidden": false
},
{
"type": "chore",
"section": "Chores",
"hidden": false
},
{
"type": "ci",
"section": "CI/CD",
"hidden": false
},
{
"type": "docs",
"section": "Docs",
"hidden": false
},
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "perf",
"section": "Performance",
"hidden": false
},
{
"type": "refactor",
"section": "Refactor",
"hidden": false
},
{
"type": "style",
"section": "Code Style",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
}
]
}
}
],
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/github",
{}
]
]
}

0 comments on commit e9576ef

Please sign in to comment.