Skip to content

Commit bdd0d07

Browse files
PAMulliganPaul Mulliganclaude
authored
ci(release): drop stray -- when forwarding --release-as to pnpm script (#96)
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: Paul Mulligan <paul@pmds.pull-list.net> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 09a676a commit bdd0d07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if [ "${{ inputs.release_type }}" = "auto" ]; then
5050
pnpm release
5151
else
52-
pnpm release -- --release-as ${{ inputs.release_type }}
52+
pnpm release --release-as ${{ inputs.release_type }}
5353
fi
5454
5555
# Extract the new version from package.json

0 commit comments

Comments
 (0)