docs/releasing: fix instructions to create a branch from a tag
authorEric Engestrom <eric@igalia.com>
Fri, 4 Nov 2022 14:21:08 +0000 (14:21 +0000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Nov 2022 20:06:44 +0000 (20:06 +0000)
Not sure if it used to work, but it doesn't anymore.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19536>

docs/releasing.rst

index 8e62d12..43b582e 100644 (file)
@@ -196,8 +196,9 @@ To setup the branchpoint:
 
    # Create the tag and branches on the server
    git push origin $VERSION-branchpoint
-   git push origin $VERSION-branchpoint:refs/heads/$VERSION
-   git push origin $VERSION-branchpoint:refs/heads/staging/$VERSION
+   git checkout $VERSION-branchpoint
+   git push origin HEAD:refs/heads/$VERSION
+   git push origin HEAD:refs/heads/staging/$VERSION
 
 Now go to
 `GitLab <https://gitlab.freedesktop.org/mesa/mesa/-/milestones>`__ and