Skip to content

Releasing

Yak Jun Xiang edited this page Oct 5, 2019 · 5 revisions

Releasing Latest

We depend on Lerna and CircleCI for our deploy process.

  1. Merge dev into master.

This step is manual. Resolve all merge conflicts. There should be minimal conflicts. If there is a risk, open a PR.

  1. 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.

  1. 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.

  1. 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

Releasing Next

For next, release directly off the next branch.

git checkout next
git pull upstream next
yarn version:next
git push --follow-tags
Clone this wiki locally