add releaserc config

This commit is contained in:
Oliver Lippert 2024-01-31 23:43:54 +01:00
parent eb2e985f20
commit 5b3f35f024
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3

46
.releaserc.js Normal file
View file

@ -0,0 +1,46 @@
module.exports = {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"linkCompare": true,
"linkReferences": true,
"writerOpts": {
"groupBy": "type",
"commitGroupsSort": "title",
"commitsSort": "header"
}
}
],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}",
"assets": [
"CHANGELOG.md"
]
}
],
[
"@semantic-release/gitea",
{}
]
],
"preset": "conventionalcommits",
"parserOpts": {
"issuePrefixes": [
"#"
],
"issueUrlFormat": `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/issues/{{id}}`
}
}