feat(ci): Update release config

This commit is contained in:
2025-10-25 17:19:41 +03:00
parent a13770b2cd
commit 64121d56c7
4 changed files with 3340 additions and 42 deletions

18
release.config.cjs Normal file
View File

@@ -0,0 +1,18 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ['master', 'change_models'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
'@semantic-release/git',
[
"@semantic-release/exec",
{
"publishCmd": 'echo "${nextRelease.notes}" > /tmp/release-notes.md; goreleaser release --release-notes /tmp/release-notes.md --clean'
}
]
],
};