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 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 [email protected]: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.6 - check and set credentials in the
PyPI settings
andBintray settings
sections
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
bin
andinclude
paths in thePython settings
section: 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 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