Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Implementation:8beeeaaat Touchdesigner mcp gh pr create

From Leeroopedia
Knowledge Sources
Domains Release_Management, CI_CD
Last Updated 2026-10-28 22:13 GMT

Overview

External tool for opening the release PR from a `development` branch to `main`, with the version number as title and the CHANGELOG entry as body, including reconciled `Closes #N` keywords for issue auto-close.

Description

The gh pr create command is the final step (Step 6 of Release Preparation). It opens a PR from `development` to `main` with `--title "v$NEW_VERSION"` and a body file built from the CHANGELOG entry. The body must include one `Closes #N` keyword per line for each resolved issue — GitHub ignores closing keywords after the first in a combined line, so each must be on its own line. After maintainer merge, the CI workflow (`release.yml`) publishes; the release should not be merged, tagged, or published manually.

This is an External Tool Doc — it documents CLI usage in the workflow context.

Usage

Run this command when:

  • Opening the release PR (Step 6 of Release Preparation).
  • The CHANGELOG entry is written and version files are bumped.
  • The issue keyword list has been reconciled against the CHANGELOG citations.

Code Reference

Source Location

  • Repository: touchdesigner-mcp
  • File: .claude/skills/prepare-release/SKILL.md
  • Lines: L163-241 (Step 5); CI publish at `.github/workflows/release.yml` L1-40

Commands

gh pr create \
  --base main \
  --title "v$NEW_VERSION" \
  --body-file /tmp/release-pr-body.md

I/O Contract

Inputs

Name Type Required Description
NEW_VERSION str Yes The new package version (e.g. `1.4.13`)
release-pr-body.md file CHANGELOG entry + `Closes #N` keywords (one per line)

Outputs

Name Type Description
Pull request PR Opened `development → main` PR

Usage Examples

Open the Release PR

# Build the body file from the CHANGELOG entry + reconciled closing keywords
# Each Closes #N must be on its own line (GitHub ignores keywords after
# the first in a combined line)

gh pr create \
  --base main \
  --title "v1.4.13" \
  --body-file /tmp/release-pr-body.md

# After maintainer merge, release.yml CI publishes automatically.
# Do NOT merge, tag, or publish manually.

Related Pages

Requires Environment

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment