Skip to content

Commit

Permalink
ci: add missing release config
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Nov 24, 2024
1 parent 0c1ae92 commit 5b794f9
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "major",
"release": "major"
},
{
"type": "deps",
"scope": "major",
"release": "major"
},
{
"type": "minor",
"release": "minor"
},
{
"type": "deps",
"scope": "minor",
"release": "minor"
},
{
"type": "patch",
"release": "patch"
},
{
"type": "deps",
"scope": "patch",
"release": "patch"
},
{
"type": "refactor",
"release": "minor"
},
{
"scope": "docs",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "major",
"section": "Features"
},
{
"type": "deps",
"scope": "major",
"section": "Features"
},
{
"type": "minor",
"section": "Features"
},
{
"type": "deps",
"scope": "minor",
"section": "Features"
},
{
"type": "patch",
"section": "Bugfixes"
},
{
"type": "deps",
"scope": "patch",
"section": "Bugfixes"
},
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bugfixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "refactor",
"hidden": true
}
]
}
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog"
}
],
[
"@semantic-release/git",
{
"message": "chore: release ${nextRelease.version}",
"assets": ["CHANGELOG.md"]
}
],
[
"@semantic-release/github",
{
"publish": true
}
]
]
}

0 comments on commit 5b794f9

Please sign in to comment.