Skip to content

Commit

Permalink
docs: mention branch update in checklist (#2670)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Nov 16, 2020
1 parent 32d11c9 commit 17c22b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ To release a new version of pybind11:
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
- ``git checkout -b vX.Y``, ``git push -u origin vX.Y``
- 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``
- Update branch: ``git checkout vX.Y``, ``git merge <release branch>``, ``git push``
- Update tags (optional; if you skip this, the GitHub release makes a
non-annotated tag for you)
- ``git tag -a vX.Y.Z -m 'vX.Y.Z release'``.
Expand Down

0 comments on commit 17c22b9

Please sign in to comment.