versionandjs_artifact_versioninbuild.gradle__version__inpython-package/lets_plot/_version.py
git add --all && git commit -m "Updated version vX.X.X" && git pushgit tag vX.X.X && git push --tags
versionandjs_artifact_versioninbuild.gradle__version__inpython-package/lets_plot/_version.py
The next steps need to be reproduced on all supported platforms (Mac, Linux and Windows).
On Windows use .\gradlew.bat instead of ./gradlew to run Gradle script.
git clone --branch vX.X.X git@github.com:JetBrains/lets-plot lets-plot-release
- set both
build_python_extensionandenable_python_packageoptions toyes - edit
binandincludepaths in thePython settingssection: set paths to Python 3.6 - check and set credentials in the
PyPI settingsandBintray settingssections
run ./gradlew build
For Linux without graphical environment add parameter to exclude JFX test:
./gradlew build -x :vis-svg-mapper-jfx:jvmTest
or tests will stuck in running state.
As the result you will get artifacts for js-package and python-package (python wheel file built with Python 3.6)
- edit
binandincludepaths in thePython settingssection: set paths to Python 3.7 - run
./gradlew python-package-build:build
Reproduce this steps for Python 3.8
Then you'll get python wheel files built with Python 3.7 and 3.8.
run ./gradlew python-package-build:buildManylinuxWheels
-
./gradlew js-package:js-publish-version:bintrayUpload -
./gradlew js-package:js-publish-latest:bintrayUpload
- for testing (test.pypi.org):
./gradlew python-package-build:publishTestPythonPackage
- for production (pypi.org):
./gradlew python-package-build:publishProdPythonPackage
-
./gradlew :jvm-package:jvm-publish-common:bintrayUpload -
./gradlew :jvm-package:jvm-publish-jfx:bintrayUpload -
./gradlew :jvm-package:jvm-publish-batik:bintrayUpload -
./gradlew :plot-image-export:bintrayUpload
Note that release versions will be uploaded to the lets-plot-jars package.
SNAPSHOT's and RC's will be uploaded to the lets-plot-jars-dev package.
- Open the link: https://github.com/JetBrains/lets-plot/releases/new
- Fill
Tag versionandRelease titlewith released versionvX.X.X - Fill a description field with the new changes from the CHANGELOG.md
- remove build directory
lets-plot-release