You are reading documentation for 0.1.3. The latest release in the 0.1 line is 0.1.4.

Release Tooling Documentation

Composable direct and candidate release lifecycles, stable manifests, and provider-specific adapters.

Release Tooling Documentation

Buildish Release Tooling separates project policy, release state, platform adapters, and workflow orchestration. A component owns its release-config.yaml and thin workflow. The CLI resolves exact identities, performs one bounded operation at a time, and writes machine-readable results that the workflow passes to later jobs.

GitHub is the first implemented hosting platform. Platform-neutral state and manifests do not treat GitHub, the ASF, voting, a built source archive, or any secondary registry as mandatory.

Choose a lifecycle

Both approaches may use an unsuffixed final version such as 1.2.3 and final tag such as v1.2.3. The candidate suffix identifies the candidate only; it does not change the final version.

Compose a component release

Maintainer references:

Supported external contract

The supported contract consists of:

  • CLI commands and arguments;
  • the authored release-config.yaml schema;
  • supported JSON schemas and emitted manifest shapes;
  • exit status, manifest-path output, and GitHub step summaries documented for a command.

The Python package layout is not a public API. Component workflows should pin an exact published package version or immutable Git revision and invoke the CLI.

For a published package, replace <version> with the selected published version, install it, and invoke the CLI from the component worktree:

1uv tool install 'buildish-release-tooling==<version>'
2buildish-release-tooling <command> \
3  --component-config /path/to/release-config.yaml \
4  [command arguments...]

Install buildish-release-tooling[pypi]==<version> instead when using verify-pypi-attestations; the extra supplies its cryptographic verifier.

For a source checkout at a reviewed immutable Git revision, use:

1uv run --project /path/to/buildish-release-tooling --frozen \
2  buildish-release-tooling <command> \
3  --component-config /path/to/release-config.yaml \
4  [command arguments...]

Commands operate on the current component Git worktree. Workflow jobs that inspect remote refs must fetch the required heads and tags first.

Configuration model

release-config.yaml is a typed composition of independent choices:

  • component and version identity;
  • source selection and source snapshot mode;
  • source checks;
  • direct or candidate lifecycle;
  • optional candidate policy;
  • built artifacts, checksums, and optional signing;
  • authoritative, convenience, and secondary publication targets;
  • immutable and moving tag policy;
  • optional vote-material profile;
  • optional foundation policy profiles.

The complete generated field reference is under Reference. The walkthroughs use minimal valid examples for their lifecycle.

Stable manifests

Three top-level manifest contracts connect otherwise independent phases:

  • CandidateManifestV1 binds one exact candidate tag, source revision, artifact inventory, verification evidence, publications, and tooling provenance.
  • VotePackageV1 optionally binds human voting material to the cryptographic digest of one exact candidate manifest. It does not record or decide the vote outcome.
  • ReleaseManifestV1 records a direct or promoted final release. Direct releases omit candidate fields; promoted releases name the exact candidate manifest and use typed promotion evidence.

Current promotion evidence distinguishes byte-identical artifacts, immutable registry identity, and platform-generated snapshots from tags that resolve to the same source revision.

Runtime integration

MANIFEST_PATH selects the JSON result path for commands that emit a manifest. GITHUB_STEP_SUMMARY receives human-readable summaries. Selected workflow-boundary commands append small scalar values to GITHUB_OUTPUT; complete state remains in JSON files.

Credentials are operational inputs, not authored config values. GitHub tokens, signing keys, passphrases, registry credentials, and foundation credentials belong in the workflow or deployment secret store chosen by the component.

Optional capabilities

Release branch creation is available through create-release-branch, but neither lifecycle requires a maintained release line. Secondary publication adapters, moving aliases, generic voting, ASF composition, and reproducibility verification are selected only by components that need them.


Direct Release

Publish one exact final GitHub release without creating a release candidate.

Candidate Release And Promotion

Publish retained candidates and promote one exact candidate manifest to a final release.

Reference

Generated JSON Schema and model-reference documentation for Buildish Release Tooling contracts.

Workflow Composition

How component-owned workflows compose release CLI operations and approval boundaries.

Self-Releasing Buildish Release Tooling

How Buildish Release Tooling uses its own lifecycles, workflows, and release controls.

First Self-Release

Prepare and publish the first Buildish Release Tooling release.

Follow-Up Self-Releases

Prepare subsequent releases and recover interrupted publication.

Source Artifacts And Signing

Choose platform-generated source snapshots or build and sign an explicit source archive.

GitHub Release Adapter

GitHub-specific publication behavior for direct, candidate, and promoted releases.

Optional ASF Profile

Explicit ASF policy, dist, trust-root, vote-material, and ATR integration.

Manifests And Verification

Stable candidate, vote-package, release, and optional reproducibility contracts.

Codebase Layout

Maintainer guide to core release logic, adapters, commands, verification, and the workflow harness.

Test Suite Layout

Maintainer guide to core, adapter, command, workflow, and harness verification.

Threat Model

Security boundaries, controls, residual risks, and deployment responsibilities for release tooling.

Release-legal maintenance workflow

This document explains how the repository maintains reviewed legal files for published Python wheels and how the preliminary review-oriented legal artifacts are generated and checked.