Skip to content

Commit fa72aff

Browse files
rwgkhenryiii
andauthored
[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>
1 parent 422990f commit fa72aff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/release.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ If you don't have nox, you should either use ``pipx run nox`` instead, or use
5050
- Add a release branch if this is a new MINOR version, or update the existing
5151
release branch if it is a patch version
5252

53-
- New branch: ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
53+
- NOTE: This documentation assumes your ``upstream`` is ``https://github.com/pybind/pybind11.git``
54+
55+
- New branch: ``git checkout -b vX.Y``, ``git push -u upstream vX.Y``
5456

5557
- Update branch: ``git checkout vX.Y``, ``git merge <release branch>``, ``git push``
5658

@@ -63,7 +65,7 @@ If you don't have nox, you should either use ``pipx run nox`` instead, or use
6365

6466
- Last-minute consistency check: same as tag?
6567

66-
- ``git push --tags``
68+
- Push the new tag: ``git push upstream vX.Y.Z``
6769

6870
- Update stable
6971

0 commit comments

Comments
 (0)