From 81eea42a0fa6916af120f7d590827814e2e76d18 Mon Sep 17 00:00:00 2001 From: Paul Mulligan Date: Fri, 15 May 2026 16:58:38 -0400 Subject: [PATCH] ci(release): drop stray -- when forwarding --release-as to pnpm script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pnpm 7+ passes any args after a script name directly to the script, so `pnpm release -- --release-as minor` forwards the literal `--` as an argument to commit-and-tag-version, which silently ignores it and falls back to an auto bump. On pre-1.0 versions that auto bump is conservative (feat = patch), so requesting `minor` produced 0.5.0 → 0.5.1 instead of 0.6.0. Drop the `--`. 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 59f62f8..9db9710 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: if [ "${{ inputs.release_type }}" = "auto" ]; then pnpm release else - pnpm release -- --release-as ${{ inputs.release_type }} + pnpm release --release-as ${{ inputs.release_type }} fi # Extract the new version from package.json