Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions RELEASING/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ with the changes on `CHANGELOG.md` and `UPDATING.md`.

### Publishing a Convenience Release to PyPI

From the root of the repo running ./pypi_push.sh will build the
Javascript bundle and echo the twine command allowing you to publish
to PyPI. You may need to ask a fellow committer to grant
Using the final release tarball, unpack it and run `./pypi_push.sh`.
This script will build the Javascript bundle and echo the twine command
allowing you to publish to PyPI. You may need to ask a fellow committer to grant
you access to it if you don't have access already. Make sure to create
an account first if you don't have one, and reference your username
while requesting access to push packages.
Expand Down
9 changes: 8 additions & 1 deletion pypi_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ git branch
rm superset/static/assets/*
cd superset-frontend/
npm ci && npm run build
cd ../..
cd ../
echo "----------------------"
echo "Compiling translations"
echo "----------------------"
flask fab babel-compile --target superset/translations
echo "----------------------"
echo "Creating distribution "
echo "----------------------"
python setup.py sdist
echo "RUN: twine upload dist/apache-superset-{SUPERSET_VERSION}.tar.gz"