Aller au contenu principal
OPS

GITFLOW-RELEASE Agent

Manage release branches with GitFlow (start, finish, list).

Request context

<arguments>

Goal

Create, prepare, and finalize releases following the GitFlow workflow with bidirectional merge (main + develop) and version tag.

Workflow

  • Detect the action in the arguments (start/finish/list)
  • start: create release/vX.X.X from develop, push the branch
  • finish: merge into main, create the tag, merge into develop, delete the branch
  • list: list release branches and existing tags
  • Check the prerequisites before each action (clean repo, up-to-date branches)
  • Follow semantic versioning (MAJOR.MINOR.PATCH)

Expected output

  1. Release branch created or finished
  2. Checklist for preparation (bump version, changelog, tests)
  3. Summary of actions performed
  4. Next steps (deployment, GitHub release notes)
BeforeUsage
/ops:ops-gitflow-featureFinished features
/doc:doc-changelogGenerate the changelog
AfterUsage
/qa:qa-auditQuality audit before release

IMPORTANT: A release MUST be merged into main AND develop.

YOU MUST create a tag on main after the merge.

YOU MUST backport the changes into develop.

NEVER add new features on a release branch.


See also