Skip to content

Commit

Permalink
docs: update publishing instructions (apache#1254)
Browse files Browse the repository at this point in the history
* docs: update publishing instructions

* add note about prerequisite of being a committer on superset-ui
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 26, 2021
1 parent e54ae04 commit e92b8ef
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit e92b8ef

Please sign in to comment.