This repository is an example of monorepo release flow.
- User can control packages versions
- Publish tag and packages from CI
- Does not support independent mode
- [Person] Develop and Submit Release Pull Request
- [Team] Review Release Pull Request
- [CI] Publish
- [Local] Checkout release branch:
git checkout release/<uniq>
- [Local] Run
yarn run versionup
- Update CHANGELOG.md and
package.json
'sversion
, andlerna.json
'sversion
- It does not git tag
- Update CHANGELOG.md and
- [Local] Submit to Release Pull Request
- [GitHub] Review Release Pull Request
- [GitHub] Write Release Note into the Release Pull Request's body
- [GitHub] Merge Release Pull Request
- [CI] Create git tag && Create GitHub Release && publish to npm(GitHub Package Registry)
- 📝 The GitHub Release's body is copied from Release Pull Request's body
See Releases page.
Install devDependencies and Run npm test
:
npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT © azu