You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/README.md
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,13 +37,21 @@ In case of a problem, another method to generate the changelog is available at t
37
37
38
38
2. Clean the generated changelog, to match the format of [https://github.com/mui/mui-x/releases](https://github.com/mui/mui-x/releases).
39
39
3. Update the root `package.json`'s version
40
-
4. Update the versions of the other `package.json` files and of the dependencies with `pnpm release:version` (`pnpm release:version prerelease` for alpha / beta releases).
41
-
Do not skip the version bump if Lerna detects a change in the package. It is important to release the package if there are **any** changes to it.
42
-
If Lerna doesn't suggest a version bump for the package, don't release it.
40
+
4. Update the versions of the other `package.json` files and of the dependencies with `pnpm release:version` (`pnpm release:version prerelease` for alpha / beta releases). [Check the warning below]
43
41
5. Open PR with changes and wait for review and green CI.
44
42
6. Once CI is green and you have enough approvals, send a message on the `team-x` slack channel announcing a merge freeze.
45
43
7. Merge PR.
46
44
45
+
:::warning
46
+
47
+
Make sure of the following when versioning the packages with `release:version`:
48
+
49
+
- Do not skip the version bump if Lerna detects a change in the package. It is important to release the package if there are **any** changes to it.
50
+
- If Lerna doesn't suggest a version bump for the package, don't release it.
51
+
- When releasing a package, make sure to sync the version of the package with the version of the root `package.json` file.
52
+
53
+
:::
54
+
47
55
### Release the packages
48
56
49
57
1. Checkout the last version of the working branch
0 commit comments