From 044789f4b975566ff6ed19cd0c7d81afdb093f2d Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Thu, 5 Aug 2021 11:16:30 +0300 Subject: [PATCH] docs: add instructions for npm release (#39) --- .../superset-ui-plugins-deckgl/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/README.md b/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/README.md index c1b8782834..9cfa5b744b 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/README.md +++ b/superset-frontend/temporary_superset_ui/superset-ui-plugins-deckgl/README.md @@ -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