Skip to content

[FEATURE] Changelog synthesis recipe for prepare-release-extension.yml (git-cliff) #1747

Open

Description

@gerchowl

Description

Ship a prepare-release-extension.yml recipe (docs + optional seed snippet) that synthesizes the ## [X.Y.Z] - TBD changelog section from conventional commits with git-cliff, for consumers that do not hand-author ## Unreleased.

Split out of #1746 as a follow-up (its "Follow-ups (out of scope for this cut)" section).

Problem Statement

The train reads a hand-authored root ## Unreleased section. Rust repos coming from release-plz (tessera, per vig-os/tessera#441 blocker 3) are used to changelogs generated from commits. Without a recipe, every such adopter either changes the whole team's habit at once or invents a generator step.

Proposed Solution

  • Document a prepare-release-extension.yml job that runs git-cliff over the commits since the last stable tag and commits the result onto the fresh release/X.Y.Z branch (COMMIT_APP token, honours dry_run), before the PR opens.
  • Use git-cliff, not release-plz: release-plz has no changelog-only mode and wants to own version, tag and PR itself, which collides with the train.
  • Opt-in only; the hand-authored model stays the default.

Alternatives Considered

Additional Context

Impact

Additive, opt-in. No change for existing consumers.

Changelog Category

Added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions