Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Improve the release instructions #40973

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,12 @@ The following steps must be proposed as a pull request.
2. Change the packages names casing to be lowercase if applicable, e.g. change `Material` to `material`
3. Update the root `/package.json`'s version
4. Run `pnpm release:version`. Keep the package versions of stable public packages the same as the root `package.json` version.
- [IMPORTANT] Search for the older version string in the whole project directory and bump packages and their references that are still on the old version.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer relevant with pnpm.

5. Open PR with changes and wait for review and green CI
6. Merge PR once CI is green and it has been approved

### Release

1. Checkout the last version of the working branch
1. Checkout the last version of the release branch
2. `pnpm install && pnpm release:build` (make sure you have the latest dependencies installed, and build the packages)
3. `pnpm release:publish` (release the versions on npm, you need your 2FA device)
4. `pnpm release:tag` (push the newly created tag)
Expand Down
Loading