Skip to content

docs(release): correct the runbook's two broken commands - #811

Merged
blove merged 1 commit into
mainfrom
blove/fix-release-runbook
Aug 10, 2026
Merged

docs(release): correct the runbook's two broken commands#811
blove merged 1 commit into
mainfrom
blove/fix-release-runbook

Conversation

@blove

@blove blove commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Both commands in docs/RELEASE.md fail as written. I hit both while running a release.

1. nx release patch is rejected outright.

nx.json configures git options under release.changelog.git, and Nx refuses the top-level command whenever granular git config is present:

NX  The "release" top level command cannot be used with granular git configuration.

The runbook led with this as the recommended flow, and repeated it in the Dry run section. Replaced with the version / changelog subcommands, which do work.

2. nx release changelog v0.0.2 double-prefixes the tag.

releaseTagPattern is v{version}, so Nx prepends the v itself. Passing v0.0.57 produced:

CREATE https://github.com/cacheplane/angular-agent-framework/releases/tag/vv0.0.57

Passing the bare 0.0.57 produces the correct v0.0.57. Caught only because I dry-ran the step — following the runbook literally would have created a malformed tag and GitHub Release.

Also added

Note

Existing docs/*.md files use > blockquotes, not the website's <Callout> MDX component. I drafted with <Callout>, then converted — those would not have rendered on GitHub.

Docs only.

🤖 Generated with Claude Code

Both documented commands fail as written:

- `nx release patch` is rejected outright — nx.json configures git options
  under release.changelog.git, and Nx refuses the top-level command when
  granular git config is present. Replaced with the version/changelog
  subcommands.
- `nx release changelog v0.0.2` double-prefixes the tag. releaseTagPattern
  is `v{version}`, so passing `vX.Y.Z` yields a malformed `vvX.Y.Z` tag and
  GitHub Release. Pass the bare version.

Also adds a lockfile check before pushing (the version step regenerates
package-lock.json, which on macOS can drop Linux swc bindings) and a
drift check, since version bumps on main don't publish and the version
on disk can match npm while the code differs.

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

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview Aug 10, 2026 4:17am

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove merged commit 81cdc22 into main Aug 10, 2026
28 checks passed
@blove
blove deleted the blove/fix-release-runbook branch August 10, 2026 04:24
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