Skip to content

feat: mctf release — tag + goreleaser + release notes from conventional commits #50

Open

Description

@MoussaabBadla

Context

Releases are cut by goreleaser on a vX.Y.Z tag (.goreleaser.yaml, docs/RELEASING.md). A mctf release helper would standardize cutting one and drafting notes.

What

mctf release <version>:

  • Validates a clean tree + develop/main state.
  • Drafts release notes from conventional-commit subjects since the last tag (grouped feat/fix/docs/…).
  • Creates the annotated tag and pushes it (triggering the release workflow).

How

  • New internal/release (git log parse + notes template) + cmd/release.go.
  • Reuse internal/git helpers.
  • --dry-run prints the notes + planned tag without pushing.

Acceptance

  • mctf release v0.2.0 --dry-run prints grouped notes from commits since the last tag.
  • Docs updated; no accidental pushes without confirmation.

Effort

Small–medium.

Activity

  1. self-assigned this
    on Oct 13, 2026
  2. linked a pull request that will close this issueFeat/release command #65on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions