From e92b8efc67570353a393178b286e24260b6a095c Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Mon, 2 Aug 2021 12:32:38 +0300 Subject: [PATCH] docs: update publishing instructions (#1254) * docs: update publishing instructions * add note about prerequisite of being a committer on superset-ui --- .../superset-ui/CONTRIBUTING.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/CONTRIBUTING.md b/superset-frontend/temporary_superset_ui/superset-ui/CONTRIBUTING.md index 013a9ae6d4c6d..deda5e8bc739a 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/CONTRIBUTING.md +++ b/superset-frontend/temporary_superset_ui/superset-ui/CONTRIBUTING.md @@ -61,8 +61,11 @@ committing. You can use `npm run commit` to help you create a commit message. ### Publishing -**Prerequisite:** You'll need an [npmjs.com](https://npmjs.com) account that is part of the -`superset-ui` organization. - -1. Make sure you're logged in to NPM from your shell. Run `npm login` if necessary. -2. To make the release, run `yarn run release` and follow the prompts. +**Prerequisite:** You'll need to be a committer on the `apache-superset` organization to be able to +publish new versions of `superset-ui`. + +1. Checkout the `master` branch from the main repo at `apache-superset/superset-ui` - NOT A FORK! +2. run `yarn run ci:create-patch-version` to bump the patch version (the most common case) or + `yarn run ci:create-minor-version` to bump the minor version. Once the process finishes and the + commit has been pushed to GitHub, CI will complete publishing the release to npm (takes some time + to complete).