docusaurus/admin/prerelease.md
Endilie Yacop Sucipto 3971f803bc
chore: add prerelease script (#876)
* chore: add prerelease script

* Update prerelease.md

* Update prerelease.sh

* Update prerelease.sh

* chore: address review

* update instruction

* alias 'run version' to make it clear we're running docs version

* indicate that we are creating commit, not pull request

* update asciinema preview

* nits
2018-08-02 01:10:11 +08:00

986 B

Prereleasing New Version of Docusaurus

asciicast

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