feat(ci): Update release config
This commit is contained in:
18
release.config.cjs
Normal file
18
release.config.cjs
Normal 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'
|
||||
}
|
||||
]
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user