Release Process¶
Releases are automated with release-please and GitHub Actions.
How Releases Work¶
- release-please runs on pushes to
main(workflow:.github/workflows/release-please.yml) and opens/updates a release PR based on Conventional Commits. - The release PR updates:
docs/changelog.mdpyproject.toml(version bump).release-please-manifest.json(current released version)- Merging the release PR creates a Git tag (format
vX.Y.Z) and GitHub Release. - Docker images and the Helm chart are built, signed, and published by
.github/workflows/publish.yml, a reusable workflow that wraps the sharedrknightion/.githubcontainer-publish.ymlworkflow.release-please.ymlcalls it two ways, gated byrelease_createdso only one runs per push: release_created == true: thedocker-releasejob callspublish.ymlwith the new release tag, publishing the versioned image and Helm chart.release_created != true(an ordinary push tomain): theedgejob callspublish.ymlwith no tag, publishing a:mainedge image and a0.0.0-main.*snapshot Helm chart.
Images go to ghcr.io/<owner>/<repo> with semver, branch, and PR tags; the
chart is published to ghcr.io/<owner>/charts/<chart-name>. See
Security for how to verify image signatures.
Manual Trigger¶
You can also run the Release Please workflow manually from GitHub Actions (workflow_dispatch) to open or refresh the release PR.
Notes¶
- The changelog used by release-please lives at
docs/changelog.md. - Configuration lives in
release-please-config.json; the manifest with the current version is.release-please-manifest.json. - Tags use
include-v-in-tag: true(e.g.v0.29.0). - Conventional Commit types
feat,fix,perf,refactor,deps, anddocsproduce visible changelog sections;chore,ci, andtestare hidden. - Avoid manual version edits; use the release-please flow to keep tags and changelog consistent.