Skip to content

Automate GitHub releases on tag push #10

@pzverkov

Description

@pzverkov

Today every release is manual (gh release create ... --notes-file /tmp/...). v0.3.0 through v0.3.3 were all hand-crafted. Risk: someone forgets to attach the CHANGELOG section, or pastes the wrong one, or includes em-dashes that should not be there.

Proposal: .github/workflows/release.yml triggered on push: tags: 'v*'. Extract the matching ## v<tag> section from CHANGELOG.md; create the GitHub Release with that body and --latest if the tag is the highest semver; assert ASCII-only and no em-dash before posting.

Why deferred: small file, but adds a public side-effect to every tag push. Want one more manual release cycle to confirm the format is stable.

See docs/roadmap.md for context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integration / GitHub ActionsroadmapItems the maintainer has decided to defer; written record in docs/roadmap.mdtoolingBuild, test, release, or developer-tooling work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions