scratch-semantic-release-co.../release.config.js

32 lines
963 B
JavaScript

module.exports = {
branches: ['main'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogTitle: '# Changelog\n\nAll notable changes to this project will be documented in this file. See\n[Conventional Commits](https://conventionalcommits.org) for commit guidelines.'
}
],
[
'@semantic-release/npm',
{
tarballDir: 'pack'
}
],
[
'@semantic-release/git',
{
// eslint-disable-next-line no-template-curly-in-string
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
],
[
'@semantic-release/github',
{
assets: 'pack/*.tgz'
}
]
]
};