From 6fdf3344dc042b5c17ff2a75e077f7fd6c07b48d Mon Sep 17 00:00:00 2001 From: Paul Sachs <11449728+paul-sachs@users.noreply.github.com> Date: Thu, 12 Oct 2023 13:30:06 -0400 Subject: [PATCH] Update RELEASING.md (#212) Using `--filter` to simplify release steps and makes it simpler to add packages in the future --- .github/RELEASING.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/RELEASING.md b/.github/RELEASING.md index ff3edd2b..5bc1b370 100644 --- a/.github/RELEASING.md +++ b/.github/RELEASING.md @@ -17,9 +17,7 @@ commands: ```bash - (cd packages/connect-query && pnpm version 1.2.3) - (cd packages/protoc-gen-connect-query && pnpm version 1.2.3) - (cd packages/protoc-gen-connect-query-react && pnpm version 1.2.3) + pnpm --filter "./packages/*" exec pnpm version 1.2.3 pnpm run all ``` @@ -29,9 +27,7 @@ 7. After approval, run the following commands to publish to npmjs.com: ```bash - (cd packages/connect-query && pnpm publish) - (cd packages/protoc-gen-connect-query && pnpm publish) - (cd packages/protoc-gen-connect-query-react && pnpm publish) + pnpm install && pnpm run all && pnpm --filter "./packages/*" publish ``` 8. Merge your PR.