Skip to content

chore: pnpm release pushes its own tags - #64

Merged
handamade merged 1 commit into
mainfrom
chore/release-push-tags
Jul 31, 2026
Merged

chore: pnpm release pushes its own tags#64
handamade merged 1 commit into
mainfrom
chore/release-push-tags

Conversation

@handamade

Copy link
Copy Markdown
Owner

changeset tag creates the version tags but never pushes them, so every release ended with a manual git push --tags. That step is easy to forget and the failure is silent — npm shows the packages published, and the repo simply lacks tags until someone notices.

It has now bitten twice running. 0.8.1's three tags sat local-only after publish and were pushed by hand; the remote's newest tags were still 0.8.0 while npm already served 0.8.1.

  • package.json — the release script gains && git push --tags.
  • CLAUDE.md — the release recipe drops the manual step, and records why the gap existed.

While here, CLAUDE.md also gains a note that npm 2FA forces pnpm release into an interactive terminal. A non-interactive run dies with ERR_PNPM_OTP_NON_INTERACTIVE at the first package, before publishing anything — which is exactly what happened cutting 0.8.1, and is worth knowing before an agent session tries it.

No package change, so no changeset.

🤖 Generated with Claude Code

changeset tag creates tags but never pushes them, so every release ended
with a manual `git push --tags` that is easy to forget — and the failure
is silent: npm looks published and the repo just quietly lacks tags.
0.8.1's three tags were stranded that way and pushed by hand afterwards.

Also records in CLAUDE.md that npm 2FA forces `pnpm release` into an
interactive terminal; a non-interactive run dies with
ERR_PNPM_OTP_NON_INTERACTIVE before publishing anything.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
psi Ready Ready Preview Jul 31, 2026 11:41pm

@cursor

cursor Bot commented Jul 31, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@handamade
handamade enabled auto-merge (squash) July 31, 2026 23:41
@handamade
handamade merged commit 848f5cb into main Jul 31, 2026
3 checks passed
@handamade
handamade deleted the chore/release-push-tags branch July 31, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant