Skip to content

repo-maintenance release flow should use checked-in release notes #69

@gaelic-ghost

Description

@gaelic-ghost

Problem

SwiftASB release prep found that the repo-maintenance release scripts create GitHub releases with gh release create --generate-notes by default. When a repo carries a checked-in release-note draft such as docs/releases/v1.7.2.md, the release flow does not use that file for the GitHub release body.

Expected Behavior

The shared repo-maintenance release flow should prefer a checked-in release-note file when present, for example:

  • docs/releases/<tag>.md, such as docs/releases/v1.7.2.md
  • possibly docs/releases/<version>.md, such as docs/releases/1.7.2.md

If no release-note file exists, falling back to GitHub-generated notes is fine, but the script should log that fallback clearly.

Why It Matters

Patch releases often need curated sections for what changed, breaking changes, migration notes, and verification. Generated notes are useful, but they can miss license changes, compatibility-window details, and maintainer-reviewed migration guidance.

Concrete Example

In SwiftASB v1.7.2 prep, the repo has docs/releases/v1.7.2.md, but the standard release path and the dispatch GitHub-release step both used --generate-notes. SwiftASB patched its local copy to prefer --notes-file when a matching file exists; the shared repo-maintenance skill/script should get the same update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions