version
andjs_artifact_version
inbuild.gradle
__version__
inpython-package/lets_plot/_version.py
git add --all && git commit -m "Updated version vX.X.X" && git push
git tag vX.X.X && git push --tags
version
andjs_artifact_version
inbuild.gradle
__version__
inpython-package/lets_plot/_version.py
The next steps need to be reproduced both on Mac
and Linux
platforms.
git clone --branch vX.X.X git@github.com:JetBrains/lets-plot lets-plot-release
- set both
build_python_extension
andenable_python_package
options toyes
- edit
bin
andinclude
paths in thePython settings
section: set paths to Python 3.7 - check and set credentials in the
PyPI settings
andBintray settings
sections
run ./gradlew build
As the result you will get artifacts for js-package and python-package (python wheel file built with Python 3.7)
- edit
bin
andinclude
paths in thePython settings
section: set paths to Python 3.8 - run
./gradlew python-package-build:build
This step will add python wheel file built with Python 3.8.
run ./gradlew python-package-build:buildManylinuxWheels
run ./gradlew js-package:publishJS
- for testing (test.pypi.org):
./gradlew python-package-build:publishTestPythonPackage
- for production (pypi.org):
./gradlew python-package-build:publishProdPythonPackage
- Open the link: https://github.com/JetBrains/lets-plot/releases/new
- Fill
Tag version
andRelease title
with released versionvX.X.X
- Fill a description field with the new changes from the CHANGELOG.md
- remove build directory
lets-plot-release