-
Notifications
You must be signed in to change notification settings - Fork 166
Releasing
Yak Jun Xiang edited this page Oct 5, 2019
·
5 revisions
We depend on Lerna and CircleCI for our deploy process.
- Merge
dev
intomaster
.
This step is manual. Resolve all merge conflicts. There should be minimal conflicts. If there is a risk, open a PR.
- Run
version
command.
We rely on Lerna to version our packages. Run the appropriate version command (yarn version:latest
). You should see that a new commit is created with the version name and tag.
- Push the new commit with tags onto master.
CircleCI is configured to run and publish automatically. If it fails, you can run the command locally in order to publish the release.
- Reset dev to latest
We fast-forward dev
to master by doing a simple merge from master and pushing the new dev
to upstream.
The best case should look like this:
git checkout dev
git pull upstream dev
git checkout master
git pull upstream master
git merge dev
yarn version:latest
git push upstream master --follow-tags
git checkout dev
git merge master
git push upstream dev
For next, release directly off the next
branch.
git checkout next
git pull upstream next
yarn version:next
git push --follow-tags