Skip to content

Commit

Permalink
Improve release docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterp committed Jan 9, 2020
1 parent 2827dbf commit eec060c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Releases

We use Lerna to release packages because it figures out what's changed in our packages since the last release.
We use Lerna to release packages because it automatically figures out what's changed in our packages since the last release and keeps cross project dependencies in sync.

Run `yarn lerna changed` to see a list of packages that will be published, and run `yarn lerna publish` to bump the versions and release them to the public.

## Troubleshooting

When a previous `yarn lerna publish` failed you can use the `from-package` flag to
publish the packages that aren't in the registry.
If `yarn lerna publish` has failed use the `yarn lerna publish from-package` to command to publish the packages that aren't already in the registry.

## Resources

Expand Down

0 comments on commit eec060c

Please sign in to comment.