REPOMATIC-PREPARE-RELEASE(1) REPOMATIC-PREPARE-RELEASE(1)

repomatic prepare-release - Freeze version, changelog and pins for a release

repomatic prepare-release [OPTIONS]

Prepare files for a release or post-release version bump.

This command consolidates all release preparation steps:

- Set release date in changelog (replaces "(unreleased)" with today's date).
- Set release date in citation.cff.
- Update changelog comparison URL from "...main" to "...v{version}".
- Remove the "[!WARNING]" development warning block from changelog.
- Optionally update workflow URLs to use versioned tag.

When running in GitHub Actions, --update-workflows is auto-detected:
it defaults to True when $GITHUB_REPOSITORY matches the canonical
workflows repository (kdeldycke/repomatic).

For post-release (after the release commit), use --post-release to retarget workflow URLs back to the default branch.

Path to the changelog file. Defaults to the configured changelog.location.
Path to the citation file.
Path to the GitHub workflows directory.
Name of the default branch for workflow URL updates.
Update workflow URLs to use versioned tag instead of default branch. Defaults to True when $GITHUB_REPOSITORY is the canonical workflows repo.
Run post-release steps (retarget workflow URLs to default branch).
Show this message and exit.

Path to the changelog file. Defaults to the configured changelog.location.
Path to the citation file.
Path to the GitHub workflows directory.
Name of the default branch for workflow URL updates.
Update workflow URLs to use versioned tag instead of default branch. Defaults to True when $GITHUB_REPOSITORY is the canonical workflows repo.
Run post-release steps (retarget workflow URLs to default branch).
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

Prepare release (changelog + citation)

repomatic prepare\-release

Post-release: retarget workflows to main branch

repomatic prepare\-release \-\-post\-release

Kevin Deldycke

2026-09-14 7.15.1.dev0