From bff57b7a31286139eb7bf1b84728d6928f1b4f9b Mon Sep 17 00:00:00 2001 From: busticated Date: Thu, 11 Nov 2021 12:19:15 -0800 Subject: [PATCH] update release docs --- RELEASE.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 49cda3b6..e12877cc 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,11 +1,15 @@ # Releasing a new version -- Checkout the `master` branch. - -- `npm version ` - - - This will bump the version in `package.json`, update the reference docs, and make a version commit and a tag for you. - -- `git push && git push --tags` - - - Travis will publish to npm when the build succeeds. +Packages are only released from the `master` branch after peer review. + +1. make sure you have the latest: + * `$ git checkout master` + * `$ git pull` +2. make sure tests pass + * `$ npm test` +3. bump the version + * `$ npm version ` +4. push your tags: + * `$ git push origin main --follow-tags` + +_CI will publish to npm when the build succeeds_