Merge pull request 'build: update release configuration for plugins and rules' (!25) from update-release-config into main
All checks were successful
Release / Release (push) Successful in 22s

Reviewed-on: #25
This commit is contained in:
We ball 2025-02-13 09:34:54 +00:00
commit 29d3c53b19

View File

@ -1,15 +1,64 @@
module.exports = { module.exports = {
branches: ["main"],
branches: ['main'],
plugins: [ plugins: [
'@semantic-release/commit-analyzer', [
'@semantic-release/release-notes-generator', "@semantic-release/commit-analyzer",
'@semantic-release/changelog', {
["@saithodev/semantic-release-gitea", { preset: "angular",
"giteaUrl": "https://git.simonis.lol" releaseRules: [
}], { type: "feat", release: "minor" },
{ type: "fix", release: "patch" },
{ type: "perf", release: "patch" },
{ type: "docs", release: "patch" },
{ type: "style", release: "patch" },
{ type: "refactor", release: "patch" },
{ type: "test", release: "patch" },
{ type: "chore", release: "patch" },
{ type: "ci", release: "patch" },
{ type: "build", release: "patch" },
{ type: "revert", release: "patch" },
],
},
],
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "feat", section: "Features", hidden: false },
{ type: "fix", section: "Bug Fixes", hidden: false },
{
type: "perf",
section: "Performance Improvements",
hidden: false,
},
{ type: "docs", section: "Documentation", hidden: false },
{ type: "style", section: "Code Style", hidden: false },
{ type: "refactor", section: "Code Refactoring", hidden: false },
{ type: "test", section: "Tests", hidden: false },
{ type: "chore", section: "Chores", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false },
{ type: "build", section: "Build System", hidden: false },
{ type: "revert", section: "Reverts", hidden: false },
],
},
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"],
},
},
],
[
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.md",
},
],
[
"@saithodev/semantic-release-gitea",
{
giteaUrl: "https://git.simonis.lol",
},
],
], ],
}; };