mirror of https://github.com/apache/superset.git
[pypi] Include compiled translations on Pypi pkg (#9567)
This commit is contained in:
parent
8e439b1115
commit
ecf1abae78
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue