Skip to content

Commit f576d98

Browse files
authored
chore: update release process to include pnpm build (#15060)
1 parent 5d05fc2 commit f576d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ If you have publish access, the steps below explain how to cut a release for a p
257257
"Release" is done locally to generate the changelogs and git tags:
258258

259259
1. Make sure the git remote for https://github.com/vitejs/vite is set as `origin`.
260-
2. In the `vite` project root `main` branch, run `git pull` and `pnpm i` to get it up-to-date.
260+
2. In the `vite` project root `main` branch, run `git pull` and `pnpm i` to get it up-to-date. Then run `pnpm build`.
261261
3. Run `pnpm release` and follow the prompts to cut a release for a package. It will generate the changelog, a git release tag, and push them to `origin`. You can run with the `--dry` flag to test it out.
262262
4. When the command finishes, it will provide a link to https://github.com/vitejs/vite/actions/workflows/publish.yml.
263263
5. Click the link to visit the page, and follow the next steps below.

0 commit comments

Comments
 (0)