Skip to content

Commit

Permalink
update publish guide
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jul 29, 2020
1 parent 6124c60 commit 87fa27f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ GITHUB_AUTH=<Your GitHub auth token> yarn changelog

Copy the generated contents and paste them in `CHANGELOG-2.x.md`.

**Note**: sometimes `lerna-changelog` gives an empty changelog ([bug report](https://github.com/lerna/lerna-changelog/issues/354)). Adding the `--from` options seems to help (`yarn changelog --from v2.0.0-alpha.60`).

### 4. Cut a new version of the docs

```sh
Expand All @@ -103,9 +105,7 @@ You should still be on your local branch `<your_username>/<version_to_release>`

Make a commit/push, create a pull request with the changes.

Don't merge it, just check that the CI is ok with your changes.

If nobody is around for a review, just wait for the CI checks to complete, check the deploy preview, and merge it.
**Don't merge it yet**, but wait for the CI checks to complete.

An example PR would be [#3114](https://github.com/facebook/docusaurus/pull/3114).

Expand Down

0 comments on commit 87fa27f

Please sign in to comment.