Crayons will be having 2 branches:
- master - release branch
- next - pre-release branch (experimental branch)
Steps:
-
Any new PRs will be merged to the
next
branch after approval. Feature, refactor, and bug fix branches are created fromnext
-
Weekly pre-release
- The
next
branch will be used for pre-release. (3.1.1-beta.1). - It will be published to npm with dist-tag as
next
- 3.1.1-beta.1@next.
- The
-
Stable release
- The
next
branch will be merged to themaster
branch. - The pre-release version will be graduated to a stable release version (3.1.2).
- It will be published to npm with dist-tag as
latest
- 3.1.2
- The
Merge main
branch into next
branch post releasing stable version.
The above release process is described as below: