Skip to Content
agore-skill
How-to Guides

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

Verify 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 release

Requirements 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:

  1. Tag the commit: git tag vX.Y.Z && git push origin vX.Y.Z.
  2. 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.
  3. cosign signs the checksum artifacts (sign-blob) with the workflow's id-token: write permission; signatures are published as .sig/.pem files.
  4. A manual workflow_dispatch run defaults to dry_run: true and never touches OIDC or cosign; an explicit dry_run: false publishes.

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 act

Checklist

  • mise run check green 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 on main's history, and the changelog groups (feat:, fix:) read as intended.

On this page