Skip to content

Release script: --review the summary before anything is pushed #160

Closed

Description

@JacobStephens2

Parent

#150

What to build

With --review, the release script pauses once, after the summary has been written (by the agent or by the fallback) and before anything is pushed. It prints the summary and asks [y]es / [e]dit / [n]o:

  • y: carries on as usual.
  • e: opens the summary in $EDITOR, then carries on with what was saved.
  • n: stops with nothing pushed (no branch, PR or tag) and exits non-zero.

Without --review, the script never prompts.

Acceptance criteria

  • With --review and y, the PR body holds the summary as it was written.
  • With --review and e, a scripted $EDITOR changes the summary, and the PR body holds the edited text.
  • With --review and n, origin has no new branch, PR or tag, and the script exits non-zero.
  • Without --review, the script runs to the tag without reading stdin.
  • The README's Releasing section mentions --review.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions