Skip to content

Commit 49ffd53

Browse files
committed
Update DEVELOPMENT.md
1 parent 5a363e5 commit 49ffd53

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

DEVELOPMENT.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ You may need to make changes to a pre-release prior to publishing a final stable
6868
- `git checkout main`
6969
- `git merge --no-ff release-next`
7070
- `git push origin main`
71+
- _Note:_ For the `v7.0.0` stable release, there will probably be a bunch of conflicts on `docs/**/*.md` files here because we have made changes to v6 docs but in `dev` we removed a lot of those files in favor of auto-generated API docs. To resolve those conflicts, we should accept the deletion from the `release-next` branch.
7172
- Merge the `release-next` branch into `dev` **using a non-fast-forward merge** and push it up to GitHub
7273
- `git checkout dev`
7374
- `git merge --no-ff release-next`
@@ -90,11 +91,16 @@ After the `6.25.0` release, we branched off a `v6` branch for continued `6.x` wo
9091
- Starting the release process for 6.x is the same as outlined above, with a few changes:
9192
- Branch from `v6` instead of `dev`
9293
- Use the name `release-v6` to avoid collisions with the ongoing v7 (pre)releases using `release-next`
93-
- Do not merge `main` into the `release-v6` branch
94+
- **Do not** merge `main` into the `release-v6` branch
9495
- The process of the PRs and iterating on prereleases remains the same
9596
- Once the stable release is out:
9697
- Merge `release-v6` back to `v6` with a **Normal Merge**
98+
- **Do not** merge `release-v6` to `main`
9799
- Copy the updated changelog entry for the `6.X.Y` version to `main`
100+
- Copy the docs changes to `main` so they show up on the live docs site for v6
101+
- `git checkout main`
102+
- `git diff [email protected]@6.X.Y docs/ > ./docs.patch`
103+
- `git apply ./docs.patch`
98104
- The _code_ changes should already be in the `dev` branch but confirm that the commits in this release are all included in `dev` already:
99105
- I.e., https://github.com/remix-run/react-router/compare/[email protected]@6.26.2
100106
- If one or more are not, then you can manually bring them over by cherry-picking the commit (or re-doing the work)

0 commit comments

Comments
 (0)