File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ To release a new version of pybind11:
33
33
issues are entered in the changelog (clear the label when done).
34
34
- ``git add `` and ``git commit ``, ``git push ``. **Ensure CI passes **. (If it
35
35
fails due to a known flake issue, either ignore or restart CI.)
36
- - Add a release branch if this is a new minor version
37
- - ``git checkout -b vX.Y ``, ``git push -u origin vX.Y ``
36
+ - Add a release branch if this is a new minor version, or update the existing release branch if it is a patch version
37
+ - New branch: ``git checkout -b vX.Y ``, ``git push -u origin vX.Y ``
38
+ - Update branch: ``git checkout vX.Y ``, ``git merge <release branch> ``, ``git push ``
38
39
- Update tags (optional; if you skip this, the GitHub release makes a
39
40
non-annotated tag for you)
40
41
- ``git tag -a vX.Y.Z -m 'vX.Y.Z release' ``.
You can’t perform that action at this time.
0 commit comments