How Mint works
Mint versions source and publishes release state. Your repository workflows build, retain, deploy, and verify artifacts.
Release sequence
- Fetch full Git history and tags. Resolve the next version with Mint and associate it with the exact source commit.
- Build once after the configured checks pass. Retain the artifact and record the project, full source SHA, SemVer, digest, and producer run.
- Deploy that digest to staging. Record the deployed identity after runtime verification and staging tests succeed.
- Dispatch production for the exact project and SemVer. Resolve the retained artifact, check the matching staging evidence, and deploy the same digest through the shared promotion workflow.
- After production verification succeeds, invoke Mint to publish the GitHub Release for the version you deployed. Your workflow decides whether and when to write or commit a changelog.
Repositories that only publish release state can use the direct publishing command.
Evidence and identity
- Build
Retain the complete artifact digest. - Stage
Verify and record the digest in staging. - Promote
Require matching staging evidence and verify the same digest in production.
| Evidence | What it establishes |
|---|---|
| Immutable Git tag | The version points to a source commit. |
| Build record | A trusted run produced the artifact with that digest. |
| Staging verification | The staging workflow verified that digest. |
| Production verification | The production workflow verified the deployed digest. |
| GitHub Release | The workflow published notes and release metadata for a source tag. |
Use an immutable digest for deployment. A registry tag or a static site's environment reference can point to that digest. Record environment-specific runtime configuration separately from artifact identity. For a bundle, verify all of the artifacts selected together.