REPOMATIC-CREATE-RELEASE(1) REPOMATIC-CREATE-RELEASE(1)

repomatic create-release - Create the GitHub release draft of a version

repomatic create-release [OPTIONS]

Create the release draft of a version, with its notes and assets.

The notes are the changelog section of the version. A project published on PyPI gets them with the availability admonition linking to PyPI and GitHub, which lint-changelog later writes into the changelog itself.

The release stays a draft: the release workflow attaches the binaries and other assets to it, then publishes it last, since a published immutable release accepts no new asset.

Idempotent: with --skip-existing, the default, a release that already carries the tag is left as it is, so a re-run of the workflow passes.

Version to release, like 1.2.3. The release takes the tag v1.2.3.
[required]
Commit the release tag points at. Defaults to HEAD.
Directory of files to attach to the draft. A directory that does not exist attaches nothing.
Skip silently if a release carries the tag, or fail with an error.
Path to the changelog file. Defaults to [tool.repomatic] changelog.location.
Repository in owner/repo format. Defaults to $GITHUB_REPOSITORY, then to the GitHub remote of the current clone.
Show this message and exit.

Version to release, like 1.2.3. The release takes the tag v1.2.3.
Commit the release tag points at. Defaults to HEAD.
Directory of files to attach to the draft. A directory that does not exist attaches nothing.
Skip silently if a release carries the tag, or fail with an error.
Path to the changelog file. Defaults to [tool.repomatic] changelog.location.
Repository in owner/repo format. Defaults to $GITHUB_REPOSITORY, then to the GitHub remote of the current clone.
Repository in owner/repo format. Defaults to $GITHUB_REPOSITORY, then to the GitHub remote of the current clone.
Show this message and exit.

0
Success.
1
A runtime error, an aborted prompt (Ctrl-D), or a declined confirmation.
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
130
Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.

Create the draft of the release commit, attaching the built package

repomatic create\-release \-\-version 1.2.3 \-\-commit 6f27db4 \-\-assets release_artifact

Kevin Deldycke

2026-10-29 8.0.1.dev0