@@ -383,12 +383,23 @@ Building binaries
383383=================
384384
385385We distribute macOS, Windows, and many Linux wheels as well as a source tarball via
386- PyPI. Most builders should trigger automatically once the tag is pushed to GitHub:
386+ PyPI.
387387
388388* Windows, macOS and manylinux wheels are built on GitHub Actions. Builds are triggered
389- by the GitHub Action defined in :file: `.github/workflows/cibuildwheel.yml `, and wheels
389+ by the GitHub Action defined in a separate
390+ `release repository <https://github.com/matplotlib/matplotlib-release >`__, and wheels
390391 will be available as artifacts of the build. Both a source tarball and the wheels will
391392 be automatically uploaded to PyPI once all of them have been built.
393+ * To trigger the build for the ``matplotlib-release `` repository:
394+
395+ * If not already created, create a release branch for the meso version (e.g. ``v3.10.x ``)
396+ * Edit the ``SOURCE_REF_TO_BUILD `` environment variable at the top of
397+ `wheels.yml <https://github.com/matplotlib/matplotlib-release/blob/main/.github/workflows/wheels.yml >`__
398+ on the release branch to point to the release tag.
399+ * Run the workflow from the release branch, with "pypi" selected for the pypi environment
400+ using the `Workflow Dispatch trigger <https://github.com/matplotlib/matplotlib-release/actions/workflows/wheels.yml >`__
401+ * This will run cibuildwheel and upload to PyPI using the Trusted Publishers GitHub Action.
402+
392403* The auto-tick bot should open a pull request into the `conda-forge feedstock
393404 <https://github.com/conda-forge/matplotlib-feedstock> `__. Review and merge (if you
394405 have the power to).
0 commit comments