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: CONTRIBUTING.md
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -123,21 +123,13 @@ pnpm run lint
123
123
124
124
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.
125
125
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
-
132
126
## Releasing
133
127
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):
Repository maintainers can publish a new version of changed packages to npm.
139
129
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)
0 commit comments