Skip to content

Commit

Permalink
docs: add instructions for npm release (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
villebro authored and zhaoyongjie committed Nov 30, 2021
1 parent 89e214c commit 044789f
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ Please read the
which include development environment setup and other things you should know about coding in this
repo.

### Releasing

Make sure you have commit rights to the main `superset-ui-plugins-deckgl` repo, have checked it out (NOT a fork!) and
belong to the `superset-ui` org on npm (=can publish new versions).

1. `yarn install`
2. `yarn build`
3. `yarn release-patch-version`. This will raise an error, but you should see a new commit and tag, e.g. `v0.4.8`
4. go to the DeckGL directory: `cd packages/superset-ui-legacy-preset-chart-deckgl`
5. make sure you're logged into npm: `npm whoami` should display your npm username.
6. `npm publish`

### License

Apache-2.0

0 comments on commit 044789f

Please sign in to comment.