chore: add semantic-release workflow
This commit is contained in:
parent
72d2c32d08
commit
54be432e53
4 changed files with 6759 additions and 0 deletions
22
.releaserc.json
Normal file
22
.releaserc.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"branches": ["main"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/changelog",
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"prepareCmd": "echo ${nextRelease.version} > VERSION && git add VERSION"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/git",
|
||||
{
|
||||
"assets": ["CHANGELOG.md", "VERSION"],
|
||||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue