From 02746cb69f202579efb0004e55ac7984a5c466bb Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 12 Nov 2020 13:06:00 -0500 Subject: [PATCH] docs: add a little more information for releases --- docs/changelog.rst | 2 +- docs/release.rst | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index cb80091f1..6a12b9537 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -20,7 +20,7 @@ v2.6.1 (Nov 11, 2020) and ``eval`` in pure Python. `#2616 `_ -* ``setup_helpers`` will no longer set a minimum macOS version lower than the +* ``setup_helpers`` will no longer set a minimum macOS version higher than the current version. `#2622 `_ diff --git a/docs/release.rst b/docs/release.rst index ab6d6ab56..b5348bfbb 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -28,6 +28,9 @@ To release a new version of pybind11: - Ensure that all the information in ``setup.cfg`` is up-to-date, like supported Python versions. - Add release date in ``docs/changelog.rst``. + - Check to make sure + `needs-changelog `_ + issues are entered in the changelog (clear the label when done). - ``git add`` and ``git commit``, ``git push``. **Ensure CI passes**. (If it fails due to a known flake issue, either ignore or restart CI.) - Add a release branch if this is a new minor version @@ -62,6 +65,15 @@ To release a new version of pybind11: If a version branch is updated, remember to set PATCH to ``1.dev1``. +If you'd like to bump homebrew, run: + +.. code-block:: + + brew bump-formula-pr --url https://github.com/pybind/pybind11/archive/vX.Y.Z.tar.gz + +Conda-forge should automatically make a PR in a few hours, and automatically +merge it if there are no issues. + Manual packaging ^^^^^^^^^^^^^^^^