Skip to Content
agore-skill
Reference

Release process

The two tag namespaces, the bundle vs GitHub publishers, GoReleaser, cosign and the act dry run.

Two release kinds coexist in this repository, distinguished by tag namespace.

The two tag namespaces

NamespaceFormatReleased byExample
CLI binaryvX.Y.ZGoReleaser via .github/workflows/release.ymlv0.5.1
Skills<skill>/vX.Y.Zthe CLI's own agore-skill release commanddiataxis/v1.2.0

The workflow's tag filter is v*, which never matches the skill format — the namespaces stay independent by construction.

Skill releases (the CLI's own pipeline)

For each skill, agore-skill release:

  1. resolves the tag (--tag, then GITHUB_REF_TYPE/GITHUB_REF_NAME from a CI tag push, then release tags pointing at HEAD via git tag --points-at HEAD, and finally git describe --tags --exact-match HEAD as the detailed-error fallback),
  2. runs the lint gate (any Error aborts),
  3. builds the four artifacts into dist/: <skill>_<version>.zip, <skill>_<version>.tar.gz, <skill>_<version>_checksums.txt (SHA-256) and <skill>_<version>_CHANGELOG.md (install header + path-scoped commits),
  4. publishes via the configured publishers:
    • bundle — the default: artifacts are the deliverable, no upload.
    • github — creates a GitHub Release and uploads the four files, through the gh CLI when available, else the REST API with GITHUB_TOKEN.

--snapshot runs steps 1–3 with the fixed version v0.0.0-snapshot, requires no git state, and never publishes.

CLI binary releases (GoReleaser)

On a v* tag push, release.yml runs GoReleaser 2.20.3 with .goreleaser.yaml:

  • before hook: go mod verify
  • builds: cmd/agore-skill with CGO_ENABLED=0, -trimpath, -s -w -X main.version={{.Version}} (the ldflags injection makes agore-skill --version report the tagged version, stripped of the leading v; local builds report dev), for darwin/linux/windows × amd64/arm64 (12 binaries)
  • archives: tar.gz named agore-skill_<version>_<os>_<arch>; zip overrides for windows
  • checksum: checksums.txt, SHA-256
  • changelog: GitHub-sourced, sorted ascending, grouped into Features (feat:), Bug fixes (fix:) and Other changes; docs:, test: and chore: commits are filtered out
  • signs: cosign sign-blob over the checksum artifacts, producing <artifact>.sig and <artifact>.pem (keyless, via the workflow's id-token: write)

A manual workflow_dispatch defaults to dry_run: true — snapshot artifacts only, cosign never installed. Publishing requires a tag push or an explicit dry_run: false.

Local dry runs

mise run release:act-dry-run

Runs the workflow inside act with dry_run: true (GOFLAGS=-buildvcs=false for the .git-less container copy). Artifacts stay in the container and are listed in the log.

On this page