Commit 103365e
ci: bump version via Node instead of
pnpm/action-setup@v6 installs varying pnpm pre-release channels (see
pnpm/action-setup#225), and some of them:
* silently skip the git commit + tag (caused `src refspec vX.Y.Z
does not match any` publish failures)
* reject `--no-git-tag-version` / `--no-commit-hooks` as unknown
options
Stop using `pnpm version` for the patch bump. Read/write package.json
with Node, then `git add / git commit / git tag -a` ourselves.
Works regardless of which pnpm variant action-setup picks.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>pnpm version patch
1 parent 3b6ed07 commit 103365e
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
68 | 76 | | |
69 | 77 | | |
70 | 78 | | |
| |||
0 commit comments