add releaserc config
This commit is contained in:
parent
eb2e985f20
commit
5b3f35f024
1 changed files with 46 additions and 0 deletions
46
.releaserc.js
Normal file
46
.releaserc.js
Normal file
|
@ -0,0 +1,46 @@
|
|||
module.exports = {
|
||||
"branches": [
|
||||
"main"
|
||||
],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
[
|
||||
"@semantic-release/release-notes-generator",
|
||||
{
|
||||
"linkCompare": true,
|
||||
"linkReferences": true,
|
||||
"writerOpts": {
|
||||
"groupBy": "type",
|
||||
"commitGroupsSort": "title",
|
||||
"commitsSort": "header"
|
||||
}
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/changelog",
|
||||
{
|
||||
"changelogFile": "CHANGELOG.md"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"message": "chore(release): ${nextRelease.version}",
|
||||
"assets": [
|
||||
"CHANGELOG.md"
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/gitea",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"preset": "conventionalcommits",
|
||||
"parserOpts": {
|
||||
"issuePrefixes": [
|
||||
"#"
|
||||
],
|
||||
"issueUrlFormat": `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/issues/{{id}}`
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue