Skip to content

Commit

Permalink
build: hopefully get working releaserc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Nov 17, 2023
1 parent 9837212 commit 033e38e
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"branches": [
"main",
"+([0-9])?(.{+([0-9]),x}).x",
{
"name": "(f|b|c)/*",
"channel": "next",
"prerelease":
"beta-${(/^[a-zA-Z]+-[0-9]+/.exec(name.substr(2)) || [name.replace(/[_/.]/g, '-')])[0]}-${Date.now()}"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "build", "section": "Build System", "hidden": false },
{ "type": "chore", "section": "Miscellaneous", "hidden": false },
{ "type": "ci", "section": "Continuous Integration", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{ "type": "refactor", "section": "Code Refactoring", "hidden": false },
{ "type": "style", "section": "Styles", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": false }
]
},
"writerOpts": {
"commitsSort": ["subject", "scope"]
}
}
],
"@semantic-release/github"
]
}

0 comments on commit 033e38e

Please sign in to comment.