From 1caab932390d92ef2e89d1bb895681deb6d7faf9 Mon Sep 17 00:00:00 2001 From: Patrick Wolfert Date: Fri, 22 Mar 2024 08:56:01 -0700 Subject: [PATCH] [NO-TICKET] Fix release script not bumping versions in private packages (#2987) This recent change was incorrect, so revert If we ignore all private packages during the bump, we're actually failing to bump the version of the design system packages in the dependencies for those private packages, which means that the doc site won't get the new version of the design system, and neither will the examples. I guess the tradeoff is that we have to choose an option for those private packages while we're going through the bump workflow --- scripts/release.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.ts b/scripts/release.ts index f951a33dcd..03c1065d8d 100644 --- a/scripts/release.ts +++ b/scripts/release.ts @@ -56,7 +56,7 @@ async function undoLastCommit() { async function bumpVersions() { console.log(c.green('Bumping package versions for release...')); const preBumpHash = getCurrentCommit(); - shI('./node_modules/.bin/lerna', ['version', '--no-push', '--no-private', '--exact']); + shI('./node_modules/.bin/lerna', ['version', '--no-push', '--exact']); const postBumpHash = getCurrentCommit(); if (preBumpHash === postBumpHash) {