Skip to content

Commit 4a08119

Browse files
committed
Update DEVELOPMENT.md
1 parent 51044b6 commit 4a08119

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

DEVELOPMENT.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,19 @@ You may need to make changes to a pre-release prior to publishing a final stable
4141
- Commit the edited pre-release file along with any unpublished changesets, and push the `release-*` branch to GitHub.
4242
- Wait for the release workflow to finish. The Changesets action in the workflow will open a PR that will increment all versions and generate the changelogs for the stable release.
4343
- Review the updated `CHANGELOG` files and make any adjustments necessary.
44+
- `find packages -name 'CHANGELOG.md' -mindepth 2 -maxdepth 2 -exec code {} \;`
4445
- We should remove the changelogs for all pre-releases ahead of publishing the stable version.
4546
- [TODO: We should automate this]
4647
- Prepare the GitHub release notes
4748
- Copy the relevant changelog entries from all packages into the Release Notes and adjust accordingly, matching the format used by prior releases
4849
- Merge the PR into the `release-*` branch.
4950
- Once the PR is merged, the release workflow will publish the updated packages to npm.
5051
- Once the release is published:
51-
- merge the `release-*` branch into `main` and push it up to GitHub
52-
- merge the `release-*` branch into `dev` and push it up to GitHub
52+
- Pull the latest `release-*` branch containing the PR you just merged
53+
- Merge the `release-*` branch into `main` **using a non-fast-forward merge** and push it up to GitHub
54+
- `git checkout main; git merge --no-ff release-next`
55+
- Merge the `release-*` branch into `dev` **using a non-fast-forward merge** and push it up to GitHub
56+
- `git checkout dev; git merge --no-ff release-next`
5357
- Convert the `[email protected]` tag to a Release on GitHub with the name `v6.x.y`
5458

5559
### Hotfix releases

0 commit comments

Comments
 (0)