Skip to content

R591: automate changelog finalization on tagged release #605

Description

@ryacub

Summary

Automate changelog finalization when cutting a tagged app release so ## Unreleased is rolled forward automatically.

Problem

Release creation currently reads CHANGELOG.md for ## [version], but nothing updates ## Unreleased during release cutting. This causes stale unreleased content and manual cleanup.

Scope

  • Add script to finalize changelog for a tagged version:
    • if ## [<version>] already exists: no-op
    • move current ## Unreleased body into ## [<version>] - <date>
    • recreate empty ## Unreleased section template
  • Wire release workflow to run this automation on tag releases for ryacub/rayniyomi
  • Commit/push changelog update back to main using repo token after successful release creation

Acceptance Criteria

  • Cutting tag vX.Y.Z.N updates CHANGELOG.md on main:
    • adds ## [X.Y.Z.N] - YYYY-MM-DD from previous Unreleased
    • resets ## Unreleased to empty template
  • Existing release body extraction still works
  • Workflow is idempotent on rerun

Risk

T2 (workflow + release docs mutation)

Rollback

Revert workflow/script changes; releases continue without auto-finalizing changelog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions