Files
react/scripts/release-manager
2017-01-06 14:17:13 +00:00
..
2017-01-06 06:00:09 -08:00
2017-01-06 06:00:09 -08:00
2017-01-06 06:00:09 -08:00
2017-01-06 14:17:13 +00:00

react-release-manager

This is a tool that is being used to manage React releases.

General prereqs:

  • A separate clone of React. This clone can be anywhere, so long as it is a separate working copy. Ideally this is where you are most comfortable working on React.
  • Your react clone should have the latest commits fetched before running commands. You may need to rebase or reset & re-run commands if not.

Commands

init

Run this first, it will make sure you have a GitHub token generated, letting you use the API.

docs-prs

Cherry-picks PRs that have the Documentation: needs merge to stable label from master to the current branch. Then it removes the label from the PRs and pushes the branch to the remote it's tracking (resulting in Travis CI rebuilding the website)

Prereqs:

  • Have your react clone on the branch from which the production website is generate (currently 15-stable)

stable-prs

Cherry-picks PRs that are set to the 15-next milestone. Handles merge conflicts by pausing & allowing you to switch to your working copy of React to manually merge. A menu allows you to continue from where you left off.

Prereqs:

  • Have your react clone on the dev branch (currently 15-dev)

version

Bumps the version in all the places that need it.

npm-publish

Publishes all built packages to npm (next dist-tag) and then for stable releases, also updates the latest dist-tag.

Prereqs:

  • Have done everything else required for releasing (updating version, etc) and run grunt build or grunt release.

q

A secret alias to exit because q is faster.