2022-05-20 10:14:49 -07:00
module . exports = {
2022-05-31 12:11:19 -07:00
branches : [ 'main' ] ,
plugins : [
'@semantic-release/commit-analyzer' ,
'@semantic-release/release-notes-generator' ,
2022-05-20 17:31:59 -07:00
[
2022-05-31 12:11:19 -07:00
'@semantic-release/changelog' ,
2022-05-20 17:31:59 -07:00
{
2022-05-31 12:11:19 -07:00
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.'
2022-05-20 17:31:59 -07:00
}
] ,
[
2022-08-31 08:45:48 -07:00
'@semantic-release/npm' ,
2022-05-20 17:31:59 -07:00
{
2022-08-31 08:45:48 -07:00
tarballDir : 'pack'
2022-05-20 17:31:59 -07:00
}
] ,
[
2022-08-31 08:45:48 -07:00
'@semantic-release/git' ,
2022-05-20 17:31:59 -07:00
{
2022-08-31 08:45:48 -07:00
// eslint-disable-next-line no-template-curly-in-string
2022-10-03 11:33:40 -07:00
message : 'chore(release): ${nextRelease.version} [skip ci]\n\n' +
'${(nextRelease.notes.length < 32000) ? ' +
'nextRelease.notes : (nextRelease.notes.slice(0,32000) + "...\\n\\n(Notes too long. Truncated.)")}'
2022-05-20 17:31:59 -07:00
}
] ,
[
2022-05-31 12:11:19 -07:00
'@semantic-release/github' ,
2022-05-20 17:31:59 -07:00
{
2022-05-31 12:11:19 -07:00
assets : 'pack/*.tgz'
2022-05-20 17:31:59 -07:00
}
]
2022-05-31 12:11:19 -07:00
]
2022-05-20 10:14:49 -07:00
} ;