[skip ci] Small docs/release.rst update, mainly to remove git push --tags. (#5748)

* [skip ci] Small docs/release.rst update, mainly to warn about `git push --tags`.

* Remove mention of `git push --tags`

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>

---------

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
Ralf W. Grosse-Kunstleve
2025-07-11 13:49:30 -07:00
committed by GitHub
parent 422990f842
commit fa72aff53d

View File

@@ -50,7 +50,9 @@ If you don't have nox, you should either use ``pipx run nox`` instead, or use
- Add a release branch if this is a new MINOR version, or update the existing
release branch if it is a patch version
- New branch: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
- NOTE: This documentation assumes your ``upstream`` is ``https://github.com/pybind/pybind11.git``
- New branch: ``git checkout -b vX.Y``, ``git push -u upstream vX.Y``
- Update branch: ``git checkout vX.Y``, ``git merge <release branch>``, ``git push``
@@ -63,7 +65,7 @@ If you don't have nox, you should either use ``pipx run nox`` instead, or use
- Last-minute consistency check: same as tag?
- ``git push --tags``
- Push the new tag: ``git push upstream vX.Y.Z``
- Update stable