mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-22 21:50:47 -05:00
* docs: stop telling contributors to hand-edit CHANGELOG.md AGENTS.md and the PR template both asked for an entry under [Unreleased], which changelog-guard.yml hard-fails and CONTRIBUTING.md forbids. Both lines predate the semantic-release cutover in #20. AGENTS.md now states the generated-file rule and points at the changelog-edit escape hatch; the template drops the checkbox and says on the Conventional Commits line why no hand edit is needed. * docs: say which commit types actually produce a changelog entry The previous wording claimed every Conventional Commit message is the changelog entry. The commit gate accepts eleven types, but .releaserc.json runs commit-analyzer with no releaseRules and no preset, so only feat, fix, perf and breaking changes release. Two commits landed between 0.2.1 and 0.2.2, a fix and a docs, and only the fix appears in the 0.2.2 section. Corrected in all four places the claim lived: AGENTS.md, the PR template, CONTRIBUTING.md, and the changelogTitle in .releaserc.json. CHANGELOG.md changes with .releaserc.json on purpose and must stay byte identical to it. @semantic-release/changelog strips the configured title from the existing file only when the file starts with it, so changing one without the other would leave the old header in the body and prepend the new one, shipping a duplicated header on the next release. That is what the changelog-edit label exists for. Reported by Greptile on #24 and verified before acting. * docs(ci): correct the same changelog claim in the guard's own error message My first pass grepped only *.md and *.json, so it missed the two copies inside changelog-guard.yml: the header comment and the ::error:: text a contributor actually sees when the guard fires. A repo-wide grep now returns nothing.
940 B
940 B
Summary
Type of change
- Bug fix (
fix:) - New feature (
feat:) - Breaking change (
feat!:orfix!:) - Docs / chore
Product trees affected
- AWS (root tree)
- GCP (
commands/gcp/) - Azure (
commands/az/) - N/A (shared infrastructure, docs, CI)
Checklist
mvn testpasses locally- New or updated tests added (or explained below why not needed)
README.mdupdated (if a command or flag changed)- Native binary verified (
mvn package -Pnative) — required if Jackson serialization or dependencies changed - Commit messages / PR title follow Conventional Commits — a
feat/fix/perfsubject becomes the release note, soCHANGELOG.mdneeds no hand edit