@5app/semantic-release-config 中文文档教程
Semantic Release shareable config
Install
- Create
.releaserc.json
file in directory, write into it:…
{
"extends": "@5app/semantic-release-config"
}
- Install the dev dependency
npm i @5app/semantic-release-config
- Add Job to CI pipeline
例如参见 .circleci/config.yml
release:
executor: default
steps:
- checkout
- node/install-packages
- run: npx semantic-release
- Grant @ci Team Privileges
在回购设置中授予 CI 用户写入设置