Skip to content

Require a name in a minor or major release title - #791

Merged
BattermanZ merged 1 commit into
developmentfrom
fix/release-title
Nov 14, 2026
Merged

BattermanZ merged 1 commit into
developmentfrom
fix/release-title

Conversation

@BattermanZ

Copy link
Copy Markdown
Member

Summary

 requireDraftRelease(tag)
   refuse if no title, no notes, or already published
+  refuse if a minor or major release's title is not "v<version> - <name>"
+  (a patch is not checked: it usually keeps the bare "v<version>")

The runbook's step 3 now states the rule, and its example carries a name. The publish checks list and the refusal table name the new refusal. AGENTS.md repeats it where it tells the agent to draft the title.

v2.10.0 shipped titled v2.10.0 alone, because nothing stated the rule and the runbook example used a bare title. It is retitled on GitHub to v2.10.0 - Closer to Obsidian.

Evidence

  • Before: a draft titled v1.1.0 for minor release 1.1.0 passes every publish check.
    After: refuses a minor release titled with the version alone refuses it with draft release, and nothing is merged or tagged. releaseTitleProblem accepts v2.10.0 - Closer to Obsidian and a bare or named patch title, and refuses v2.10.0, v2.10.0 - , Closer to Obsidian and v2.10.0: Closer.
  • node --test scripts/release-common.test.mjs scripts/release-publish.test.mjs: 45 passed. just check: passed in full mode.

Merge Danger

Door: two-way

Blast Radius: release-only

Only just release-publish reads it, and only before the merge. A draft with a bare title for a minor or major release is refused until it is retitled.

🤖 Generated with Claude Code

https://claude.ai/code/session_013rPDLhkh1Xdj28Bu6KMVGV

release-publish now refuses a minor or major release whose draft title
is the bare version: it must read `v<version> - <name>`, as v2.6.0 to
v2.9.0 did. A patch is not checked; it usually keeps the bare version.
The runbook (step 3, the publish checks, the refusal table) and
AGENTS.md say so. v2.10.0 shipped with a bare title because nothing
stated the rule and the runbook example used one.

Changelog: none, release tooling only, nothing a user or agent sees

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013rPDLhkh1Xdj28Bu6KMVGV
@BattermanZ
BattermanZ merged commit 179dbec into development Nov 14, 2026
@BattermanZ
BattermanZ deleted the fix/release-title branch November 14, 2026 11:27
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