Skip to content

Commit f0679d9

Browse files
trivikrtargos
authored andcommitted
doc: update 6.x to 8.x in backporting wiki
PR-URL: #22879 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent a10d03d commit f0679d9

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

doc/guides/backporting-to-release-lines.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ commits be cherry-picked or backported.
2626

2727
## How to submit a backport pull request
2828

29-
For the following steps, let's assume that a backport is needed for the v6.x
30-
release line. All commands will use the `v6.x-staging` branch as the target
29+
For the following steps, let's assume that a backport is needed for the v8.x
30+
release line. All commands will use the `v8.x-staging` branch as the target
3131
branch. In order to submit a backport pull request to another branch, simply
3232
replace that with the staging branch for the targeted release line.
3333

@@ -40,10 +40,10 @@ replace that with the staging branch for the targeted release line.
4040
# the origin remote points to your fork, and the upstream remote points
4141
# to git://github.com/nodejs/node
4242
cd $NODE_DIR
43-
# If v6.x-staging is checked out `pull` should be used instead of `fetch`
44-
git fetch upstream v6.x-staging:v6.x-staging -f
43+
# If v8.x-staging is checked out `pull` should be used instead of `fetch`
44+
git fetch upstream v8.x-staging:v8.x-staging -f
4545
# Assume we want to backport PR #10157
46-
git checkout -b backport-10157-to-v6.x v6.x-staging
46+
git checkout -b backport-10157-to-v8.x v8.x-staging
4747
# Ensure there are no test artifacts from previous builds
4848
# Note that this command deletes all files and directories
4949
# not under revision control below the ./test directory.
@@ -72,19 +72,19 @@ hint: and commit the result with 'git commit'
7272
7. Make sure `make -j4 test` passes.
7373
8. Push the changes to your fork
7474
9. Open a pull request:
75-
1. Be sure to target the `v6.x-staging` branch in the pull request.
75+
1. Be sure to target the `v8.x-staging` branch in the pull request.
7676
2. Include the backport target in the pull request title in the following
77-
format — `[v6.x backport] <commit title>`.
78-
Example: `[v6.x backport] process: improve performance of nextTick`
77+
format — `[v8.x backport] <commit title>`.
78+
Example: `[v8.x backport] process: improve performance of nextTick`
7979
3. Check the checkbox labeled "Allow edits from maintainers".
8080
4. In the description add a reference to the original PR
8181
5. Run a [`node-test-pull-request`][] CI job (with `REBASE_ONTO` set to the
8282
default `<pr base branch>`)
8383
10. If during the review process conflicts arise, use the following to rebase:
84-
`git pull --rebase upstream v6.x-staging`
84+
`git pull --rebase upstream v8.x-staging`
8585

86-
After the PR lands replace the `backport-requested-v6.x` label on the original
87-
PR with `backported-to-v6.x`.
86+
After the PR lands replace the `backport-requested-v8.x` label on the original
87+
PR with `backported-to-v8.x`.
8888

8989
[Release Schedule]: https://github.com/nodejs/Release#release-schedule1
9090
[Release Plan]: https://github.com/nodejs/Release#release-plan

0 commit comments

Comments
 (0)