This commit is contained in:
parent
ff78b21b7e
commit
7400795412
@ -13,7 +13,7 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
semantic_release: true
|
semantic_release: true
|
||||||
update_readme_toc: true
|
update_readme_toc: true
|
||||||
use_local_rc: false
|
use_local_rc: true
|
||||||
git_method: cr
|
git_method: cr
|
||||||
git_user_name:
|
git_user_name:
|
||||||
from_secret: user_gitea
|
from_secret: user_gitea
|
||||||
|
34
release.config.js
Normal file
34
release.config.js
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
module.exports = {
|
||||||
|
"branches": [
|
||||||
|
"master",
|
||||||
|
{
|
||||||
|
"name": "alpha",
|
||||||
|
"prerelease": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "beta",
|
||||||
|
"prerelease": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "rc",
|
||||||
|
"prerelease": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"verifyConditions": [
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
"@semantic-release/git"
|
||||||
|
],
|
||||||
|
"prepare": [
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
{
|
||||||
|
"path": "@semantic-release/git",
|
||||||
|
"assets": [
|
||||||
|
"CHANGELOG.md",
|
||||||
|
process.env.README_LOCATION ? process.env.README_LOCATION : 'README.md' ,
|
||||||
|
"yarn.lock",
|
||||||
|
"npm-shrinkwrap.json"
|
||||||
|
],
|
||||||
|
"message": "chore(release): <%= nextRelease.version %> - <%= new Date().toISOString().slice(0,10).replace(/-/g,'') %> [skip ci]\n\n<%= nextRelease.notes %>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user