Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.22 KB

MAINTAINERS.md

File metadata and controls

50 lines (38 loc) · 1.22 KB

Maintainer Hints

# Create a release branch.
now=`date -u +%Y%m%dT%H%M%S`
git checkout -b release-$now

To generate a new final release, and CHANGELOG.md files (use --conventional-prerelease if you just want to generate an alpha release):

# Create the final release CHANGELOGs and tags, and push.
yarn lerna version --no-push
# Push the branch.
git push -u origin release-$now
# Tell which packages have actual news.
scripts/have-news HEAD^ > have-news.md

Then, create a release PR, pasting have-news.md into the body.

Then, once tests pass, you can run the following:

# Build all package generated files.
yarn install
yarn build
# Publish to NPM. NOTE: You may have to repeat this several times if there are failures.
yarn lerna publish from-package
# Push the released non-alpha tags:
./scripts/get-released-tags | xargs git push origin

Merge the release PR into master. DO NOT REBASE OR SQUASH OR YOU WILL LOSE REFERENCES TO YOUR TAGS.

More subtlety

To get help for the command-line options that will affect these commands, use:

yarn lerna version --help
yarn lerna publish --help

Useful testing commands are:

yarn lerna version --conventional-prerelease --no-git-tag-commit