| 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.
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 |