From cdc5ff07d09f284d148d936a2e99a2fde3fd4440 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Wed, 17 Mar 2021 14:22:20 -0700 Subject: [PATCH] docs: update `yarn` command to freeze lockfile. In today's release, running `yarn` modified the `yarn.lock` file, which is not desireable for releases which should be as close to CI as possible. This updates the docs to freeze the lockfile (similar to `npm ci`) to avoid changing dependency verisons mid-release. --- docs/process/release.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/process/release.md b/docs/process/release.md index 4fe51c332b1f..4ed6ace1b5a7 100644 --- a/docs/process/release.md +++ b/docs/process/release.md @@ -118,13 +118,13 @@ For the first release of a major version, follow the instructions in For non-major release, check out the patch branch (e.g. `9.1.x`), then run: ```bash -rm -rf node_modules/ && yarn # Reload dependencies +rm -rf node_modules/ && yarn install --frozen-lockfile # Reload dependencies yarn admin publish --tag latest ``` If also publishing a prerelease, check out `master`, then run: ```bash -rm -rf node_modules/ && yarn # Reload dependencies +rm -rf node_modules/ && yarn install --frozen-lockfile # Reload dependencies yarn admin publish --tag next ```