How to cut a release
Rehearse and execute both release kinds — skill releases and the CLI binary release.
You are ready to ship. There are two release kinds in this repository, with two independent tag namespaces — rehearse each with its dry-run mode first.
Release kind 1 — a skill release (CLI command)
Skill releases are cut by the CLI itself and never touch the GoReleaser pipeline. Always start with a snapshot:
agore-skill release --skill <skill> --snapshot --cleanVerify the four artifacts in dist/: the zip and tar.gz (top-level
directory <skill>/), the SHA-256 checksums, and the changelog with its
npx skills add <owner>/<repo>@<tag> --skill <skill> install line. Then:
git tag <skill>/vX.Y.Z
git push origin <skill>/vX.Y.Z
agore-skill releaseRequirements in tag mode: a release tag on HEAD (resolved from --tag,
a CI tag push's GITHUB_REF_TYPE/GITHUB_REF_NAME, or release tags
found with git tag --points-at HEAD; there is still no newest-tag-anywhere
fallback), clean working tree, agore.yaml present, zero Error lint
diagnostics on the skill.
Release kind 2 — the CLI binary release (GoReleaser)
The CLI binary itself is released by .github/workflows/release.yml on a
v* tag push:
- Tag the commit:
git tag vX.Y.Z && git push origin vX.Y.Z. - The workflow runs GoReleaser (
release --clean) with the pinned toolchain:go mod verify, CGO-disabled builds for darwin/linux/windows × amd64/arm64, tar.gz archives (zip on Windows),checksums.txt, and a grouped changelog. - cosign signs the checksum artifacts (
sign-blob) with the workflow'sid-token: writepermission; signatures are published as.sig/.pemfiles. - A manual
workflow_dispatchrun defaults todry_run: trueand never touches OIDC or cosign; an explicitdry_run: falsepublishes.
The two namespaces stay independent because the workflow's tag filter
(v*) does not match <skill>/vX.Y.Z tags.
Rehearse without GitHub writes
mise run release:act-dry-run # release workflow as a snapshot via actChecklist
mise run checkgreen on the commit you tag.- Working tree clean (both release kinds require it).
- For skills: lint errors zero on the skill being released.
- For the CLI binary: the
v*tag is onmain's history, and the changelog groups (feat:,fix:) read as intended.
Related
- The full release machinery: Release process reference
- Skill tag grammar: Release format reference
- The publisher configuration: agore.yaml reference