From 1a9f0f18736b2193267167b307697c54e15f9de6 Mon Sep 17 00:00:00 2001 From: Faraazuddin Mohammed Date: Sun, 10 May 2026 01:13:47 -0400 Subject: [PATCH] fix(release): wrap version+lint chain in bash -c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Changesets action's `version` input is passed straight as the args to `changeset` — not interpreted by a shell. Using `&&` made the chain land as positional args: Too many arguments passed to changesets - we only accept the command name as an argument Wrap in `bash -c "..."` so the shell evaluates the chain. Now `changeset version` runs first, then `npm run lint:fix` re-formats the bumped package.json files (Wave 1 Biome compact-array fix preserved). Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7746d9..494f215 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,7 +91,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - version: npx changeset version && npm run lint:fix + version: bash -c "npx changeset version && npm run lint:fix" publish: npx changeset publish commit: 'chore(release): version packages' title: 'chore(release): version packages'