feat: support semantic release (#244)

Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
sh1luo
2021-08-11 21:39:34 +08:00
committed by Yang Luo
parent 8c6f0a31b6
commit b58d5ebb2c
8 changed files with 188 additions and 34 deletions

22
.releaserc.json Normal file
View File

@ -0,0 +1,22 @@
{
"debug": true,
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
{
"name": "rc"
},
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}