diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a93b46171..3c6326c28 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -127,8 +127,8 @@ For VS Code users, you can install the [Biome VS Code extension](https://marketp Repository maintainers can publish a new version of changed packages to npm. -1. Run `pnpm generate-release-pr` to generate a release branch. -2. Create a pull request, the title should be `release: v1.2.0`. -3. Run the [release action](https://github.com/web-infra-dev/rsbuild/actions/workflows/release.yml) to publish packages to npm. -4. Generate the [release notes](https://github.com/web-infra-dev/rsbuild/releases) via GitHub, see [Automatically generated release notes](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes) -5. Merge the release pull request to `main`. +1. Run `pnpm generate-release-pr` to generate a release branch, the default bump type is `patch`, use `--type minor/major` to bump minor/major version. +2. Create a pull request, the title should be `Release: v1.2.0`, ensure the CI check passes. +3. Run the [release action](https://github.com/web-infra-dev/rslib/actions/workflows/release.yml) to publish packages to npm. +4. Merge the release pull request to `main`. +5. Generate the [release notes](https://github.com/web-infra-dev/rslib/releases) via GitHub, see [Automatically generated release notes](https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes)