Follow these steps to create a new release:
-
Check that notable PRs since the last release are labeled and have clear and consistent titles
-
git pull
the latest master and ensure thatgit status
shows no local changes -
lerna-changelog
– generates the changelog for the new release -
Add the generated changelog to
CHANGELOG.md
(with a new version number) -
git commit -am "Update CHANGELOG"
-
yarn version
– updates theversion
property in thepackage.json
file and creates a new git commit and tag for the release (note: do not update the version manually prior to running this command) -
git push upstream master --follow-tags
– pushes the release commit and tag to theupstream
remote -
Use GitHub to publish a new release for the pushed tag using the generated changelog (without the changelog title) as the description
-
npm pack
-
npm publish