This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 49992dd9d2 docs: add npm publish steps to release/readme (#23730)
49992dd9d2 is described below
commit 49992dd9d271ef1afb7420a2ef82890e641168a9
Author: Lily Kuang <[email protected]>
AuthorDate: Thu May 2 21:28:23 2024 -0700
docs: add npm publish steps to release/readme (#23730)
Co-authored-by: Nicolas Charpentier <[email protected]>
Co-authored-by: Evan Rusackas <[email protected]>
---
RELEASING/README.md | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/RELEASING/README.md b/RELEASING/README.md
index 0b686f898a..fa527701e7 100644
--- a/RELEASING/README.md
+++ b/RELEASING/README.md
@@ -506,3 +506,18 @@ and re-push the proper images and tags through this
interface. The action
takes the version (ie `3.1.1`), the git reference (any SHA, tag or branch
reference), and whether to force the `latest` Docker tag on the
generated images.
+
+### Npm Release
+You might want to publish the latest @superset-ui release to npm
+```bash
+cd superset/superset-frontend
+```
+An automated GitHub action will run and generate a new tag, which will contain
a version number provided as a parameter.
+```bash
+export GH_TOKEN={GITHUB_TOKEN}
+npx lerna version {VERSION} --conventional-commits --create-release github
--no-private --yes --message {COMMIT_MESSAGE}
+```
+This action will publish the specified version to npm registry.
+```bash
+npx lerna publish from-package --yes
+```