docusaurus/admin/prerelease.md
Yangshun Tay 55e676cb25
misc: add command to run prettier on docs (#2102)
* misc: add command to run prettier on docs

* Fix GH issue template

* Fix tests

* Add prettier-docs command to precommit
2019-12-07 21:56:30 -08:00

943 B

Prereleasing New Version of Docusaurus

demo

Steps

  1. Ensure that origin remote is your Docusaurus fork and upstream is Docusaurus original repository.
$ git remote -v
origin	https://github.com/endiliey/Docusaurus.git (fetch)
origin	https://github.com/endiliey/Docusaurus.git (push)
upstream    https://github.com/facebook/docusaurus.git (fetch)
upstream    https://github.com/facebook/docusaurus.git (push)
  1. Pull latest changes from Docusaurus repository.
$ git fetch upstream && git checkout master && git merge upstream/master
  1. Modify CHANGELOG.md and other necessary files. Do not commit the changes.
  2. Run bash scripts/prerelease.sh.
  3. Create your pull request on GitHub.
pull request