| name | release-flow |
| description | Run the AI-assisted release proposal flow for this chart end-to-end via gh CLI — trigger propose-release, review the PR, adjust the version, watch CI, and merge. Use when the user asks to cut/propose/ship a release, check on a release PR, or change its version. |
Release flow (propose-release via gh CLI)
This repo's release model: the chart version in charts/hermes-agent/Chart.yaml
is the source of truth, and merging a PR that bumps it is what ships. This
skill drives the whole loop with gh, without using the GitHub web UI.
See CONTRIBUTING.md for the full conceptual
background; this skill is the CLI operationalization of "1. AI-assisted
proposal".
Steps
-
Trigger propose-release.yaml (workflow_dispatch only — maintainer
action, never runs on fork PRs):
gh workflow run propose-release.yaml
gh workflow run propose-release.yaml -f version=0.0.4
gh workflow run propose-release.yaml -f bump=minor
-
Watch the run:
gh run list --workflow=propose-release.yaml --limit 1
gh run watch <run-id>
-
Review the release PR (branch release/next, idempotent — re-running
step 1 updates the same PR):
gh pr list --head release/next
gh pr view <PR-number>
gh pr diff <PR-number>
-
Adjust the version if needed (maintainer override — retitles the PR
and regenerates chart docs):
gh pr comment <PR-number> --body "/version v0.0.5"
Re-run step 1 afterwards only if you also want the AI summary/changelog
regenerated against new commits on main.
-
Check CI (validate-chart.yaml runs automatically on PR push):
gh pr checks <PR-number> --watch
-
Merge — this triggers release-chart.yaml, which tags vX.Y.Z, writes
the GitHub Release, and publishes the chart to both the OCI registry
(oci://ghcr.io/<owner>/hermes-agent-helm/hermes-agent) and the GitHub Pages Helm repo
(https://<owner>.github.io/hermes-agent-helm):
gh pr merge <PR-number> --merge
-
Watch the release run:
gh run list --workflow=release-chart.yaml --limit 1
gh run watch <run-id>
Notes
main currently has no branch protection — merging is immediate, no
required reviews/checks are enforced by GitHub itself. Still wait for
gh pr checks to go green before merging.
release-chart.yaml is a no-op (tag-existence guard) if the vX.Y.Z tag
already exists, so re-running things after a merge is safe.
release/next is deleted automatically by release-chart.yaml after a
successful release.