Skip to content

docs: document squash-merge + title-driven release policy - #13

Merged
00o-sh merged 1 commit into
mainfrom
claude/combine-source-map-onboard-9bfvyz
Aug 13, 2026
Merged

docs: document squash-merge + title-driven release policy#13
00o-sh merged 1 commit into
mainfrom
claude/combine-source-map-onboard-9bfvyz

Conversation

@00o-sh

@00o-sh 00o-sh commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

What & why

A squash-merged PR whose Release-As: 1.0.0 footer lived only in the body was cut by release-please as 0.9.0 (minor) instead of the intended 1.0.0 (major) — the footer didn't survive the squash, so release-please fell back to its bump-minor-pre-major rule. (Seen on combine-source-map: the source-map 8 breaking change; fixed there by flipping the config.) This documents the policy so it doesn't recur.

Changes

  • CONTRIBUTING.md — new Merging section: PRs are squash-merged and release-please is title-driven, so (1) one logical change per PR and (2) the release signal goes in the PR title (feat! for breaking), with a note that Release-As:/long-form BREAKING CHANGE: footers only survive if the repo squash message is "Pull request title and description", and to prefer release-please config for deliberate version overrides. Includes the repo-setting callout.
  • CLAUDE.md — matching "squash-merge, title-driven" bullet in the Release model, so future automated contributors don't repeat the mistake.

Docs only — no workflow, template, or config changes.

Type of change

  • fix / feat / perf — consumer-facing
  • deps — dependency update
  • chore / ci / build / docs / test / refactor — maintenance (docs)

Checklist

  • Commits follow Conventional Commits (commitlint passes)
  • Docs only; no code, workflow, or dependency changes

Generated by Claude Code

A squash-merged PR whose Release-As footer lived only in the body was cut
by release-please as a minor (0.9.0) instead of the intended major,
because the footer did not survive the squash. Capture the resulting
policy so it does not recur:

- CONTRIBUTING.md gains a "Merging" section: squash-merge, one logical
  change per PR, put the release signal in the PR title, and set the repo
  squash message to "Pull request title and description".
- CLAUDE.md's release model gains a matching "squash-merge, title-driven"
  bullet for future automated contributors.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UcmNgwVhqkNE1eViGYLnJ9
@00o-sh
00o-sh merged commit 5218bc5 into main Aug 13, 2026
2 checks passed
@00o-sh
00o-sh deleted the claude/combine-source-map-onboard-9bfvyz branch August 13, 2026 04:38
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.

2 participants