Skip to content

Commit c67e1fa

Browse files
committed
docs: update
1 parent 9ebf76d commit c67e1fa

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -123,21 +123,13 @@ pnpm run lint
123123

124124
For VS Code users, you can install the [Biome VS Code extension](https://marketplace.visualstudio.com/items?itemName=biomejs.biome) to see lints while typing.
125125

126-
# Versioning
127-
128-
We use [changesets](https://github.com/changesets/changesets) to manage version. Currently, all rslib packages will use a fixed unified version.
129-
130-
The release notes are automatically generated by [GitHub releases](https://github.com/web-infra-dev/rslib/releases).
131-
132126
## Releasing
133127

134-
Repository maintainers can publish a new version of all packages to npm.
135-
136-
Here are the steps to publish (we generally use CI for releases and avoid publishing npm packages locally):
137-
138-
<!-- 1. [Create release pull request](https://github.com/web-infra-dev/rslib/actions/workflows/release-pull-request.yml). -->
128+
Repository maintainers can publish a new version of changed packages to npm.
139129

140-
1. Run `pnpm generate-release-pr` to create a release pull request.
141-
2. [Run the release action on release branch](https://github.com/web-infra-dev/rslib/actions/workflows/release.yml).
142-
3. Merge the release pull request.
143-
4. [Create Git tag on main branch and generate the release notes](https://github.com/web-infra-dev/rslib/releases).
130+
1. Checkout a new release branch, for example `release_v1.2.0`
131+
2. Run [changesets](https://github.com/changesets/changesets) to bump changed packages and commit the changes.
132+
3. Create a pull request, the title should be `release: v1.2.0`.
133+
4. Run the [release action](https://github.com/web-infra-dev/rsbuild/actions/workflows/release.yml) to publish packages to npm.
134+
5. 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)
135+
6. Merge the release pull request to `main`.

0 commit comments

Comments
 (0)